nicholas-leonard / dp

A deep learning library for streamlining research and development using the Torch7 distribution.
Other
343 stars 140 forks source link

Cannot repeat convolutionneuralnetwork.lua experiment when using same random_seed #180

Closed ili3p closed 8 years ago

ili3p commented 8 years ago

If I set random_seed at https://github.com/nicholas-leonard/dp/blob/master/examples/convolutionneuralnetwork.lua#L235 to some constant, I expect when I run th convolutionneuralnetwork.lua multiple times to get the same accuracies at each respective epoch. However this is not happening. Any idea why?

nicholas-leonard commented 8 years ago

@ilija139 Because it is reset after the model is created which is when the weights get initialized. Sorry about that.