mercredi 18 août 2021

Which seed when using `pytorch.manual_seed(seed)`?

I have trained a model with ImageNet. I got a new GPU and I also want to train the same model on a different GPU.

I want to compare if the outcome is different and therefore I want to use torch.manual_seed(seed).

After reading the docs https://pytorch.org/docs/stable/generated/torch.manual_seed.html it is still unclear, which number I should take for the paramater seed.

How to choose the seed parameter? Can I take 10, 100, or 1000 or even more or less and why?




Aucun commentaire:

Enregistrer un commentaire