mitmul / deeppose

DeepPose implementation in Chainer
http://static.googleusercontent.com/media/research.google.com/ja//pubs/archive/42237.pdf
GNU General Public License v2.0
408 stars 129 forks source link

test_sample - different predictions for the same input #2

Closed beszedes closed 9 years ago

beszedes commented 9 years ago

This should be added net.set_phase_test() into load_net() function in test_sample.py. Otherwise the net is in train phase and the dropout is used - predictions are differet for the same input data...

mitmul commented 9 years ago

Thank you very much for letting me know. I didn't know that. I added the line into test_sample.py.

call net.set_phase_test() before prediction : https://github.com/mitmul/deeppose/commit/dd0e43c065027014168514390b30563012f4122a