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
the loss of classification network doesn't decrease #1
Comments
Hi kevenlee, |
Hi @jiwoon-ahn |
I just converted vgg16_20M.caffemodel to PyTorch format. The weights are exactly the same. |
Thanks for reply. I've tried both pretrained models. The loss decreases normally in both case. This code really works well. |
I tried with two gpus, learing rate 0.01 and batch size 6,the code works fine,so May I ask how many gpus are you using?and could you provide the parameter for resnet? |
Hi @jiwoon-ahn |
Hi @kevinlee9 |
I tried the weights file provided by ahn, then loss decreased. |
To save the next guy some time: If you don't want to set up caffe you can do this :
|
When I trained the classification network(using both pretrained vgg and resnet weights), the loss didn't decrease succesfully using given hyperparamters. For example, the loss of vgg network vibrated around 0.24 after 1k iters, I also tried the learning rate of 0.01, it also failed. Could you give me some suggestions? Thanks~
The text was updated successfully, but these errors were encountered: