-
Notifications
You must be signed in to change notification settings - Fork 446
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
Add seed_everything into CLI side #2836
Add seed_everything into CLI side #2836
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will disable seed settings on the Python API side. Please find a way to maintain it rather than removing it.
Yes, I think that's a good point.
I don't really have a preference and would love to hear your thoughts. |
I don't see any reason why the original code cannot setup the seed correctly. Is it because the |
Yes, that's right. |
Summary
@jaegukhyun reported an issue that the seed was not being frozen, so I looked into it.
The seed is frozen after the OTXModel is created, so in some cases the seed was not being frozen.
OTXModel random feature: classification layer initialization
add fix seed function into the CLI.
How to test
seed=0, deterministic=True, model: atss_mobilenetv2
Trial 1: val/map_50: 0.750 val/map_75: 0.502
Trial 2: val/map_50: 0.750 val/map_75: 0.502
Trial 3: val/map_50: 0.750 val/map_75: 0.502
Checklist
License
Feel free to contact the maintainers if that's a concern.