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

Is there a way to set a seed? #10

Closed
Jetpackjules opened this issue Sep 24, 2022 · 1 comment
Closed

Is there a way to set a seed? #10

Jetpackjules opened this issue Sep 24, 2022 · 1 comment

Comments

@Jetpackjules
Copy link

Trying to get the same output consitently for video frame-by-frame use. Can't find any sort of paramater/argument/function to call to set a custom seed...

@timojl
Copy link
Owner

timojl commented Sep 27, 2022

The model output is deterministic (make sure model.eval() was called), there is no way to set a seed. Frame-by-frame inconsistencies might be due to the model being sensitive to small changes in the input. I never investigated this setting, though.

@timojl timojl closed this as completed Sep 27, 2022
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