Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
add option to set a constant random seed for deterministic results #196
seems that the random seed always involves the system clock and i could not find a way to set a constant seed to get deterministic results for debugging. (also, please let me know if i am opening too many issues. maybe we should have a mailing list or forum?)
Just added a function
And set seed at the beginning of your program by both
And this still cannot guarantee deterministic results, they just make things more deterministic. After doing the above things I see very tiny differences when training mnist for a couple of epochs.