mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

Something Wrong with the fit and predict method

Open LiamZhuuu opened this issue 10 years ago • 2 comments

I am trying to do the fine tuning based on the Inception BN model. But I find that even given the same data iterator, the training an evaluation accuracy differs a lot, while the evaluation accuracy is always 1/#class, which means the model produces replicate results for different data.

I also tried to modify

self._pred_exec.forward(is_train=False)

to

self._pred_exec.forward(is_train=True)

in model.py It works for NDArrayIter but not ImageRecordArray

LiamZhuuu avatar Jan 18 '16 04:01 LiamZhuuu

Looking into it. Possible bugs introduced in recent PRs

winstywang avatar Jan 18 '16 10:01 winstywang

Try to modify the value of fix_gamma in BatchNorm from defaulted ‘’True‘’ to ''False'', since the default value is changed in recent commits.

sodabeta7 avatar Jan 18 '16 13:01 sodabeta7