-
Notifications
You must be signed in to change notification settings - Fork 38
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 use multi GPU? #5
Comments
Hi @HXACA Sorry we do not have the multiple GPU support. |
Thanks for your response.I try to use your default parameters to train the model with 3DMatch dataset,but the train_accuracy is always around 0.02. After 150 epoch,I stop the train and find the result is still very bad. |
Hi @HXACA I have just checked my code and find that the last commit causes this error. For the original implementation, I use contrastive loss with the hardest mining as the descriptor loss, and this setting is sensitive to the number of keypoint pairs used for calculating the loss, I suspect the current setting 256 might be too hard for the network to converge and I use 64 to get the result in the paper. You can change the keypts_num to 64 and I am pretty sure the network will work. Another alternative is CircleLoss proposed in this paper. I find it shows better and fast convergence and has no convergence issue with I will add some notes for circle loss and double-check the configuration later. For now, you can try change the keypts_num to 64 Let me know if you still have this problem. |
Thanks for your response,I will try later. |
Sorry to bother, I had a new problem. When I tried the circle loss, after about 30 epoch, the loss suddenly increased to around 2, and the accuracy fell to single digits.. I tried to reduce the learning rate, but this problem still occurs.May I ask if you have encountered this problem? |
I used RTX2080ti with CUDA10 and tf 1.12,I will try CUDA9 later.Thanks for your response. |
Sorry to bother again.I want know the keypts_num for KITTI dataset.Is the same with 3dMatch?I tried 256 keypts num and use circleloss,but not as good as your result.And I tried the default number 1024 but seem can't converge. |
@HXACA Hi, Could you try keypts_num = 64 and contrastive loss for KITTI? It seems I forgot to change the default value of keypts_num. I haven't tried circle loss for KITTI. |
thanks fro your project @XuyangBai @HXACA |
How can I use multiple GPUs for training?
The text was updated successfully, but these errors were encountered: