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 two different results when all parameters are same? the results can not be reproduced. #11

Open
tommying opened this issue Sep 5, 2020 · 0 comments

Comments

@tommying
Copy link

tommying commented Sep 5, 2020

Hi, sir. Thanks for your excellent idea!
Now I download your code and re-implement your experiment. But I get tow different results when all parameters are same in two experiment:

sh scripts/cifar10_cae.sh gpu cifar_cae 0 adam 0.0001 350 3 1 -1
sh scripts/cifar10_svdd.sh gpu cifar 0 adam 0.0001 150 0.1 1 1 0 cifar_cae/weights_final 3 1 -1

In first model, I got result:
Train objective: 0.12176
Train accuracy: 90.03%
Val objective: 0.11618
Val accuracy: 91.10%
Test objective: 0.13841
Test accuracy: 23.58%
Test AUC: 62.60%

and then, I set all parameters of the second model exactly the same as the first model, I got the result:
Train objective: 0.12050
Train accuracy: 90.02%
Val objective: 0.11537
Val accuracy: 90.80%
Test objective: 0.13548
Test accuracy: 22.60%
Test AUC: 62.23%

I got the same situation in other classes of cifar-10 dataset. In some class, the difference between the results of two identical models can even reach 2.3%.

I think that something wrong happened, but I don‘t know how to improve the result. I am looking forward to your reply!

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

1 participant