-
Notifications
You must be signed in to change notification settings - Fork 415
ImageNet Example : train error does not decrease! #235
Comments
Please other configure file. AlexNet conf file is out of dated.
|
Thanks. @antinucleon |
The reason seems is the random initialization. You can try xavier
|
Thanks.@antinucleon |
I also use the master version to train the ImageNet data. I used the kaiming.conf and Inception-BN.conf. The train error rate and val error rate both did not decrease. My system is Windows Server. |
I see your @ommiissyu problems submitted in April and it has been closed by @winstywang in June. Do you have some ideas on this issue? My system is Ubuntu 14.04LTS . |
@fangli1992 Have you tried xavier on kaiming.conf or googlenet? If it does not work well, try to add clip_gradient = 10 at the end of the config. |
Thank for your advice @winstywang , I tried clip_gradient = 10 and got the output like this
I do not try kaiming.conf or googlenet.conf, but @ommiissyu did this #236 |
As replied above, try xavier initialization. I am not sure whether the On Tuesday, September 1, 2015, fangli1992 [email protected] wrote:
|
@fangli1992 , in April, I used the Linux system, we solved the problem. But these days I used the cxxnet on the Windows platform, I got the error rate not decreasing problem too. |
thanks for the info. maybe it is related to rand_r on windows. We are busy
|
@winstywang ok, I am trying kaiming.conf with xavier and will submit the result as soon as possible. |
@fangli1992 Sorry in cxxnet I won't have time to solve it because my own
|
@fangli1992 ,on the linux platform, it works well. On the windows platform I got the same problem as yours. |
my result:
|
Thanks @antinucleon, you mean that cxxnet will be given up soon after MXNet? Would you please introduce me MXNet? When will it be Published? |
@fangli1992 https://github.com/dmlc/mxnet https://mxnet.readthedocs.org/en/latest/ It is still on going and no exact timeline but we are confident to finish it soon. |
@antinucleon @winstywang These days I did a test and I think the result is helpful to find the bugs.
I guess there must be something wrong with |
@fangli1992 .. |
I shuffled the list before generating the rec file. It works well for me now. Thank you @fangli1992 . |
Thank you all @superzrx @antinucleon @ommiissyu @winstywang , I followed @superzrx advice and now my Alex Net works well. |
@fangli1992 @ommiissyu we have met the same problem like you, and did you mean you shuffled the list and get the well result? How should we shuffle the list? Does it have some special requirments? |
@fangli1992 by the way, have you compiled the cxxnet with ps-lite? we use it and use kaiming.con in the example folder, and just change it with the input file route and the gpu number, and get the same problem you mentioned above. |
Hi,
I am training ImageNet using the default configuer file:ImageNet.conf.
I use the latest version cxxnet downloaded from https://github.com/dmlc/cxxnet ,and I got result like this:
I found a similar issues #84 but did not find right answer.
Here is the further information about my cxxnet and training(maybe this can help):
./bin/im2rec image_list_file image_root_dir train.bin resize=256
to create rec file.The text was updated successfully, but these errors were encountered: