-
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
how to train PoseNet with my own dateset? #27
Comments
@slamjie Are you able to train the pose-net on your own custom images.? |
@DRAhmadFaraz Yes,I have trained PoseNet with my own images successfully. It shows good result for me. |
@slamjie Thanx a lot for replying me, actually I also need to train this pose-net on my own collection of RGB Images so please can you Guide me how to train this code on our own custom RGB images.? I will be thankful to you. |
@DRAhmadFaraz Sorry to reply you so late. Recently I am busy with graduation matters.
I got the Its accuracy is not as good as mentioned in the paper, but it has met my needs. |
@slamjie Thanx a lot for helping me, these all steps would be helpful for me. further I didnt see the author's instructions for custom images on this repository. If you have such instructions,share its link with me. I will be thankful to you. |
@DRAhmadFaraz For training the PoseNet, I use the
Then I use the
I change the
These bold text are the path of input images data-set and their mean files. It just lets the model know where the LMDB files and mean files are. Finally I use the train.sh to train the PoseNet and get the caffemodel files.
I used 1000 images for training and 250 images for testing. I hope it's useful to you. |
@slamjie Thanx a lot, Its all clear for me. and you are so cooperative person I have ever met. I want to ask that in my own Custom Images.. All I have is the dataset of RGB images in one directory folder... so I want to ask that in code of I hope after that, I ll be able to train my own images... |
@DRAhmadFaraz The data in the |
Can you guide me how to extract six-degree-of-freedom pose from a RGB image.? |
@DRAhmadFaraz The author mentions in the paper that he uses structure from motion (SfM) to get the images and their corresponding poses. |
@slamjie Thanx a lot. I did all these steps and after While in and testing results shows.. But why I cant run this on my GPU.? |
@DRAhmadFaraz This may be caused by memory. My GPU is Nvidia 1080. |
@slamjie Thanx a lot, you helped me alot, I have trained Successfully on "Cambridge Landmarks dataset", Now all I will have to do is to get the Do you know any tool which can extract Structure from Motion (SFM), 6-DOF or something like this from a collection of RGB images.?
|
@DRAhmadFaraz Sorry about that. I have no idea about SFM. Maybe you can try some visual SLAM algorithms. |
Dear @slamjie Hope you are fine, I am still working on this Pose-NET approach, I have trained successfully this Pose-NET approach successfully on my own dataset, Predicted poses includes [ 7 X 1 ] matrix having 3 values of Translation and 4 values of Rotation quaternion I have checked the code Can you please help me to sort it out.? |
@DRAhmadFaraz
And write a test script to test the image. There are some demos in caffe. It's easy to get the code about how to send images to net in caffe. The predicted poses are saved like this:
Hope these may help you . |
Hello @DRAhmadFaraz , can you please tell me how did you generate the train.txt file, |
Sorry for bothering.
I want to use PoseNet in my robot indoors , but when I collect 1000 images, I don't know how to set the arguments in the solver_posenet.prototxt.
My prototxt like this :
but when I begin to train ,
I1212 12:48:09.793629 8576 solver.cpp:237] Iteration 0, loss = 584.759
the loss begin at 584.759 and always stay at 125. Does it mean PoseNet train successfully ?
Would you like to share the solver_posenet.prototxt to me?
I would appreciate if you give me some advises about possible mistakes that I might make.
The text was updated successfully, but these errors were encountered: