-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Train-accuracy =1.000000 #4894
Comments
I guess your input image intensity is now in range [0, 255]. Try rescaling the input image to [-1.0, 1.0]. |
@Godricly Thanks for your reply. Could you tell me how to the input image to [-1.0, 1.0] ? |
And my 15695 0.000000 ILSVRC2012_val_00019427.JPEG |
There is a scale parameter in mxnet.io.ImageRecordIter which u can rescale the intensity. you need to add this parameter to this file if you are running the example. Also remember to subtract the mean before doing so. |
This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks! |
Environment info
Operating System: centos 7.1
MXNet version: v0.9
Python versio: v2.7
Error Message:
When I train with the googlenet, the Train_accuracy =1.000000 all the time. anyone can help?
INFO:root:Epoch[4] Batch [20] Speed: 436.48 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [40] Speed: 418.70 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [60] Speed: 419.75 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [80] Speed: 418.40 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [100] Speed: 421.43 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [120] Speed: 419.66 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [140] Speed: 415.42 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [160] Speed: 415.30 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [180] Speed: 416.12 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [200] Speed: 420.10 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [220] Speed: 416.36 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [240] Speed: 416.22 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [260] Speed: 418.99 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [280] Speed: 415.44 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [300] Speed: 414.69 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [320] Speed: 415.61 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [340] Speed: 417.83 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [360] Speed: 412.90 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [380] Speed: 417.75 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [400] Speed: 416.55 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [420] Speed: 416.80 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [440] Speed: 415.29 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [460] Speed: 415.40 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [480] Speed: 415.84 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [500] Speed: 417.56 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [520] Speed: 424.66 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [540] Speed: 416.23 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [560] Speed: 414.90 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [580] Speed: 423.35 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [600] Speed: 408.58 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [620] Speed: 418.28 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [640] Speed: 424.21 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [660] Speed: 418.61 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [680] Speed: 412.77 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [700] Speed: 415.54 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [720] Speed: 416.24 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Batch [740] Speed: 415.85 samples/sec Train-accuracy=1.000000
INFO:root:Epoch[4] Resetting Data Iterator
INFO:root:Epoch[4] Time cost=113.786
Steps to reproduce
.jpg
images..lst
filesrec
filetrain_image5w.py
is modified based on thetrain_imagenet.py
The text was updated successfully, but these errors were encountered: