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

GG! best accuracy 0.000000 in Feature encoder pre-training stage #27

Open
e96031413 opened this issue Jan 26, 2021 · 2 comments
Open

GG! best accuracy 0.000000 in Feature encoder pre-training stage #27

e96031413 opened this issue Jan 26, 2021 · 2 comments

Comments

@e96031413
Copy link

command:

CUDA_VISIBLE_DEVICES=0 python3 train_baseline.py --method baseline++ --dataset cars --name baseline++ --train_aug

output:

Epoch 399 | Batch 75/257 | Loss 0.226424
Epoch 399 | Batch 100/257 | Loss 0.233635
Epoch 399 | Batch 125/257 | Loss 0.232594
Epoch 399 | Batch 150/257 | Loss 0.234371
Epoch 399 | Batch 175/257 | Loss 0.231336
Epoch 399 | Batch 200/257 | Loss 0.230566
Epoch 399 | Batch 225/257 | Loss 0.225214
Epoch 399 | Batch 250/257 | Loss 0.222642
GG! best accuracy 0.000000

No matter use PyTorch 1.4 or the latest version(PyTorch 1.7), I got the same problem.

@Almostlover0608
Copy link

Have you solved it? I have same problem.

@e96031413
Copy link
Author

e96031413 commented May 15, 2021

@Almostlover0608 Hi, I found that the train_baseline code did not calculate the best accuracy during training
Thus, the output GG! best accuracy 0.000000 appears in the output.

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