-
Notifications
You must be signed in to change notification settings - Fork 204
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
Trials to reproduce the results in the paper using SGD #2
Comments
Yes, typically the model converges after approx 30,000 iterations. How close were your results to the paper for the other datasets? Also did you change the values of Beta? If you look at Fig 2 in the PoseNet paper, the model is quite dependant on a good choice of Beta. Cheers, |
Thank you for your reply!
Best regards, Jaehyun |
Hi Jaehyun, Sounds good to me then - are you also initialising your weights from a pretrained model on the Places dataset? (get weights here: https://github.com/BVLC/caffe/wiki/Model-Zoo) Alex |
Hi Alex, Thank you for reply :) I did use the pretrained model for the googlenet. Best regards, Jaehyun Lim |
Hi @lim0606 - did you manage to reproduce results with SGD? Thanks, |
Yes and no... I did only for King's College data (see https://github.com/lim0606/caffe-posenet-googlenet) I think I have to run grid search to tune hyperparameters, i.e. stepsize, max iterations, gamma (a parameter of learning rate policy), and initial learning rate, for other data, but I couldn't have time to do it... |
@lim0606 Thanks for sharing the results! |
Hi @alexgkendall, In the original paper it states
But the solver prototxt file ( Thanks, |
Hi, Has anyone managed to achieve the error reported in the paper for "street". I tried both the sgd and adagrad methods, but got errors about 10 times the value reported in the paper. Best, |
Hi @alexgkendall, |
Some more details: |
Hi @alexgkendall , net: "./model1/train_val_kingscollege_googlenet.prototxt" batch_size = 32. |
@janosszabo Though it's been more than one year, but could you pls advise me that did your model of scene 'Street' coverage to PoseNet paper's result? |
@ming-c @janosszabo @lim0606 @alexgkendall @lidaweironaldo Can some body please guide me how to train this model on custom RGB images from scratch.? I will be Thankful to you. |
Hi, this is Jaehyun Lim
I have a problems in learning rate scheduling to reproduce the results on the paper using sgd (as in the paper) (see https://github.com/lim0606/caffe-posenet-googlenet).
As far as I understood from the paper, it seems like that the model is trained until 100 epoch (or about to 100 epoch), i.e about 16 iterations for King's College dataset; however, it was very short for converge in my experience with the learning rate scheduling.
Therefore, I referred the maximum iterations for the datasets based on the adagrad in this repo, i.e. 30000, and it (fortunately) worked with King's College dataset. I got the results good enough compared to the record on the paper (actually better, see https://github.com/lim0606/caffe-posenet-googlenet).
However, I couldn't reproduce the results on the other datasets.
I would appreciate if you let me know some advises that I might miss or misunderstood from your paper.
Best regards,
Jaehyun
The text was updated successfully, but these errors were encountered: