Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MobileNetV2 training does not converge #143

Open
cherry-licongyi opened this issue Dec 17, 2021 · 1 comment
Open

MobileNetV2 training does not converge #143

cherry-licongyi opened this issue Dec 17, 2021 · 1 comment

Comments

@cherry-licongyi
Copy link

cherry-licongyi commented Dec 17, 2021

I use the mobilenetv2 code in Repository training on the CIFAR10 data set, but does not converge, do not know what reason, any answer would be appreciated

here is the training log

==> Preparing data..
==> Building model..

Epoch: 0
 [=========================== 391/391 ============================>]  Step: 2s840ms | Tot: 29s605ms | Loss: 2.304 | Acc: 9.868% (4934/50000)                                                  
 [=========================== 100/100 ============================>]  Step: 39ms | Tot: 3s794ms | Loss: 2.304 | Acc: 10.000% (1000/10000)                                                     
Saving..

Epoch: 1
 [=========================== 391/391 ============================>]  Step: 52ms | Tot: 26s718ms | Loss: 2.304 | Acc: 9.674% (4837/50000)                                                     
 [=========================== 100/100 ============================>]  Step: 42ms | Tot: 3s526ms | Loss: 2.304 | Acc: 10.000% (1000/10000)                                                     

Epoch: 2
 [=========================== 391/391 ============================>]  Step: 63ms | Tot: 27s702ms | Loss: 2.304 | Acc: 9.836% (4918/50000)                                                     
 [=========================== 100/100 ============================>]  Step: 36ms | Tot: 3s642ms | Loss: 2.303 | Acc: 10.000% (1000/10000)                                                     

Epoch: 3
 [=========================== 391/391 ============================>]  Step: 53ms | Tot: 26s19ms | Loss: 2.304 | Acc: 10.154% (5077/50000)                                                     
 [=========================== 100/100 ============================>]  Step: 36ms | Tot: 3s463ms | Loss: 2.304 | Acc: 10.000% (1000/10000)                                                     

Epoch: 4
 [=========================== 391/391 ============================>]  Step: 61ms | Tot: 26s405ms | Loss: 2.304 | Acc: 10.148% (5074/50000)                                                    
 [=========================== 100/100 ============================>]  Step: 36ms | Tot: 3s632ms | Loss: 2.304 | Acc: 10.000% (1000/10000)                                                     

Epoch: 5
 [=========================== 391/391 ============================>]  Step: 52ms | Tot: 26s824ms | Loss: 2.304 | Acc: 9.966% (4983/50000)                                                     
 [=========================== 100/100 ============================>]  Step: 34ms | Tot: 3s266ms | Loss: 2.305 | Acc: 10.000% (1000/10000)                                                     

Epoch: 6
 [=========================== 391/391 ============================>]  Step: 64ms | Tot: 25s992ms | Loss: 2.304 | Acc: 10.260% (5130/50000)                                                    
 [=========================== 100/100 ============================>]  Step: 33ms | Tot: 3s639ms | Loss: 2.304 | Acc: 10.000% (1000/10000)                                                     

Epoch: 7
 [=========================== 391/391 ============================>]  Step: 58ms | Tot: 26s53ms | Loss: 2.304 | Acc: 9.936% (4968/50000)                                                      
 [=========================== 100/100 ============================>]  Step: 34ms | Tot: 3s475ms | Loss: 2.304 | Acc: 10.000% (1000/10000)                                                     

Epoch: 8
^CTraceback (most recent call last): ..............................]  Step: 71ms | Tot: 6s349ms | Loss: 2.305 | Acc: 10.205% (1267/12416)  
@logan-mo
Copy link

logan-mo commented Aug 6, 2022

Try a smaller learning rate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants