-
Notifications
You must be signed in to change notification settings - Fork 17
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 generate the superpoint.pt? #2
Comments
Thanks for your attention! :) "superpoint.pt" is not much different from the "superpoint_v1.pth" provided by Magicleap. I think it would be helpful if you refer to this LINK. Simply put, you can read it using pytorch and save it with the pt extension. It's not much about C++. |
@ChanWoo25 Thank you! I solve it by using torch.jit.trace to transfer the "superpoint_v1.pth" provided by Magicleap to a new model. And it can work.But now I has a question. I run the CreateVoca to generate the DBoW Vocabulary(yml format)and put the DBoW Vocabulary into superpoint_slam. It doesn't work. It stop in ComputeBoW(). I use the Vocabulary from superpoint_slam and It can work. So I think my DBoW Vocabulary have some bugs. Have you try to replace the DBoW Vocabulary in SuperPoint_SLAM? And my DBoW yml file is like And the DBoW yml file in superpoint_slam is like: I notice the DBoW yml file of superpoint_slam has dbw3 5 256 but my DBoW yml file doesn't. And the DBoW yml file of superpoint_slam is generated by DBoW3 but my DBoW yml file is generated by DBoW2. Could you help me? |
I think your problem is issued by SuperPoint-SLAM Repository. If Then, You should open the issue at that repos. To answer, I have not yet released DBoW yml file for SuperPoint-SLAM. If you want to use your own, then Use DBoW2 yml file. |
@ChanWoo25 Thanks a lot. And In main_CreateVoca.cpp you use voc.saveToTextFile() to save txt format vocabulary. Can I use voc.save() to save yml format vocabulary? |
can you teach me how to convert the .pth files generated by pytorch into .pt files that libtorch can use? I teied torch.jit.trace, but it did not work. |
Hello, can you convert the .pth convert the .pth files generated by pytorch into .pt files that libtorch can use? If you can ,could you please tell me how to do it? I get the .pt file, but when I use it, for the same input image, it got the different outputs. This problem bothers me very much! |
Hello, your project is great. But I have a question. The superpoint.pt is from pytorch project or c++ project? Could you tell me how to generate it?
The text was updated successfully, but these errors were encountered: