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

Reproducibility #8

Open
javierlorenzod opened this issue Feb 25, 2021 · 0 comments
Open

Reproducibility #8

javierlorenzod opened this issue Feb 25, 2021 · 0 comments

Comments

@javierlorenzod
Copy link

Hi! thanks for sharing your code with the community. I am using your fine tune example. I set all random seeds properly to ensure reproducibility as it is explained on pytorch docs but I obtain slightly different results between experiments with the same hyperparameters, do you know the reason?

I only changed the following lines in example_finetune.py:

from pytorch_lightning import seed_everything
...
if __name__ == "__main__":
    seed_everything(47)
    torch.backends.cudnn.deterministic = True
    torch.backends.cudnn.benchmark = False
...
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