-
Notifications
You must be signed in to change notification settings - Fork 95
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
The score for the same picture varies #31
Comments
Try add torch.backends.cudnn.deterministic = True and torch.cuda.manual_seed_all(seed) to see if you can get consistent results. If not then according to https://pytorch.org/docs/stable/notes/randomness.html
|
not train model, I use your pretrained model to infer my image many times, but get different value |
I found the problem, your test_transform should use CenterCrop not RandomCrop |
Can you tell me how you downloaded the dataset and decompress it? |
Hello, when I want to test my image, how does test_labels.csv get generated? What does test_labels.csv mean? Looking forward to your answer! |
No description provided.
The text was updated successfully, but these errors were encountered: