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

A seed for reproducibility? #136

Open
yug125lk opened this issue Oct 16, 2024 · 3 comments
Open

A seed for reproducibility? #136

yug125lk opened this issue Oct 16, 2024 · 3 comments

Comments

@yug125lk
Copy link

Thank you again. I have another question about the seed. In your code, did you set a seed to reproduce the results? When I trained the model twice, I got different results.

@leondgarse
Copy link
Owner

Seldom do I set a seed, and most times the results are near. Did your results differ a lot?

@yug125lk
Copy link
Author

yug125lk commented Oct 20, 2024

I trained twice ResNet34 on the CASIA-WebFace dataset, using Swish activation. On LFW gave me 99.35 and 99.21. I thought it might be an issue related to the seed!!

@leondgarse
Copy link
Owner

Yes, that difference may be due to the seed. May try to save a randomly initialized model at first and use that for later other training tests.

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