Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why i got torch.Size([701, 512]) torch.Size([51355, 512]) 514 Recall@1:0.00 Recall@5:0.14 Recall@10:0.14 Recall@top1:0.86 AP:0.35 #39

Open
samcheung1 opened this issue Mar 3, 2023 · 4 comments

Comments

@samcheung1
Copy link

I used three_view_long_share_d0.75_256_s1_google model and used test.py, but i got torch.Size([701, 512]) torch.Size([51355, 512]) 514 Recall@1:0.00 Recall@5:0.14 Recall@10:0.14 Recall@top1:0.86 AP:0.35.
That was so bad, so i want to get why?

@layumi
Copy link
Owner

layumi commented Mar 3, 2023

Hi @samcheung1

The feature dimension seems to be good.
Could you first check the training loss & accuracy? Is it normal?

@samcheung1
Copy link
Author

The training loss & accuracy in train.py is normal, but i am not sure the training loss & accuracy in test.py is normal. Can you teach me how?

@layumi
Copy link
Owner

layumi commented Mar 13, 2023

Hi @samcheung1

  1. You may check the loss value and accuracy value during training. The accuracy rate should converge to 90+% after training.
  2. Could you print the query and gallery feature in this line?
    https://github.com/layumi/University1652-Baseline/blob/master/test.py#L245-L246

@samcheung1
Copy link
Author

samcheung1 commented Mar 13, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants