Imagenet training accuracy keeps 0.001 even after shuffling the data list
I am running alexnet on imagenet12 data. I followed the im2rec tutorial where I definitely shuffled the datalist. But the train and val accuracy keep at around 0.001. Any suggestions?
Btw, I am using most of the default settings in train_imagenet.py (e.g. initial learning rate is 0.01) and the data were loaded in successfully.
I tried adding "shuffle = True" in ImageRecordIter, but as is expected this did not make any difference (given that my train.rec is generated from a shuffled list txt file).
Thx.
I occur the similiar problem. I hope the following can help you
you change the https://github.com/dmlc/mxnet/blob/master/example/image-classification/train_model.py#L56 => initializer = mx.init.Normal(sigma=0.01),
and try it again
in my case, after change the initializer, my train model begin to converge.
other way, you can add a new model named alexnet-bn, use the your current super parameter, it converge too.
I see your point. I checked that changing the initializer in train_model.py worked for me. Great, thanks!
you are welcome, I find the initialization issue from the comparsion with caffe initialization.
I see. That's a good catch.