-
Notifications
You must be signed in to change notification settings - Fork 268
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 training does not converge #10
Comments
me too |
me too, and all of the images in samples are empty |
Hey guys, I'll take a look at the code when I get the time. |
I have the same issue. Looks like it is related to the initialization of the conv and fc layers. I tried only using fc layers for regression and the training converged. Remember to initialize the weight to zeros and bias to identity. Haven't figured out how to initialize conv layers yet. If anyone make progress on this please let us know. |
i think that the bilinear interpolation process in funtion bilinear_sampler is wrong, and a good example of this process can be found in https://github.com/tensorflow/models/tree/master/research/transformer
|
me too |
how to start the training? |
Excuse me,do you know how to train now? |
Excuse me, I would like to know how to start training the model?thank you! |
I think the problem is the gradients of bilinear sampling can not be auto-generated by tensorflow properly. In the original paper, author defined special gradients during this process, and this package has not included it for now. |
Hi, thanks a lot for your great work, your code is very clear and easy to understand.
However, when I train with your main.py, the network does not converge. The only change is that I set "SAMPLE" from True to False, since if True, then only 500 samples are used for training. However, the training loss always be around 2.3 and the training is terminated because there is no improvement after 1000 steps. Could you tell me your best accuracy achieved with your code? Thanks a lot.
The text was updated successfully, but these errors were encountered: