caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Is it normal to have a testing accuracy 0.001 on ImageNet after two days of training (iteration: 110, 000)?

Open wangdelp opened this issue 11 years ago • 2 comments

I am training ImageNet model using the default configuration provided in CAFFE. But sounds like the objective function did not go down much, and the testing accuracy did not improve after two days of training on K40 (current iteration is around 110, 000). Suppose in the first few iterations the model should improve quite fast. But what I have done is just follow the default configuration without any modification. Is that normal? Thanks.

wangdelp avatar Mar 09 '15 20:03 wangdelp

No, 0.001 is random guess performance, your network isn't learning anything. Open the network file and change all the bias 1 to 0.1 or something, it helped when I did it. You should see training loss decreasing after 2000 iterations or so.

lugiavn avatar Mar 10 '15 17:03 lugiavn

See #59 Also, you might just want to restart a few times and one trial will eventually start learning. As a rule of thumb, the loss should decrease after 15,000 iterations. The question seems to keep popping up. It might be a good idea to include a note in the tutorial page...

una-dinosauria avatar Mar 10 '15 17:03 una-dinosauria