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

Initialize random numbers generator at start #408

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 31, 2017

  1. Initialize random numbers generator at start

    When model is being loaded/rebuild, Torch's random numbers generator is not yet initialized with manual seed, which makes always random images with NIN ImageNet model, even with "-seed" option.
    
    Because NIN ImageNet model (https://github.com/BVLC/caffe/wiki/Model-Zoo#network-in-network-model) uses dropout layer with random values.
    
    Placing RNG initialization at start allows repeatable results (with manual seed) with NIN ImageNet model, like with VGG models.
    VaKonS authored May 31, 2017
    Configuration menu
    Copy the full SHA
    8c663db View commit details
    Browse the repository at this point in the history