Giter Site home page Giter Site logo

Comments (10)

dongdingcheng avatar dongdingcheng commented on August 17, 2024

p

from gcnv2_slam.

jiexiong2016 avatar jiexiong2016 commented on August 17, 2024

Hi,
Seems to be a loading error due to the path of GCNv2 model. The error should be be fixed if you run './rgbd_gcn' in folder GCN2 as the "run.sh" we provided. Alternatively, you could also provide the model path by using the environment variable "GCN_PATH" :

const char *net_fn = getenv("GCN_PATH");

Besides, the vocabulary for GCNv2 should be "GCNvoc.bin".

from gcnv2_slam.

dongdingcheng avatar dongdingcheng commented on August 17, 2024

@jiexiong2016 Thank you for answering my questions. I having figured out the problem. Its something wrong about the CUDA which my version is CUDA 9.0. Then I upgrade to the CUDA 9.2. I can run the operation. It is an excellent work!!!
And then, I wonder how to train my own vocabulary with my own network. Could you tell me some details?

from gcnv2_slam.

jiexiong2016 avatar jiexiong2016 commented on August 17, 2024

Glad you solve the problem. Have just committed an example under GCNv2: GCNv2_SLAM/GCN2/create_voc.cc
The path to model and dataset should be modified to your own ones.

glob("/home/t/Workspace/GCNV2/SUN3D/mono1/*.png", fn, false);

from gcnv2_slam.

dongdingcheng avatar dongdingcheng commented on August 17, 2024

Thank you, I will try my own model~

from gcnv2_slam.

chaiein avatar chaiein commented on August 17, 2024

Hi,
Seems to be a loading error due to the path of GCNv2 model. The error should be be fixed if you run './rgbd_gcn' in folder GCN2 as the "run.sh" we provided. Alternatively, you could also provide the model path by using the environment variable "GCN_PATH" :

const char *net_fn = getenv("GCN_PATH");

Besides, the vocabulary for GCNv2 should be "GCNvoc.bin".
Path to vocabulary should be GCNvoc.bin or ORBvoc.txt?
Program breaks at "module = torch::jit::load(net_fn); "
net_fn value is gcn2.pt
How to solve this issue

from gcnv2_slam.

jiexiong2016 avatar jiexiong2016 commented on August 17, 2024

It shouldn't have loading error if you run the "run.sh" from GCN2 folder. I can only suggest to check the compilation and installation of pytorch (and its dependencies) since the problem is likely related to these.

from gcnv2_slam.

match08 avatar match08 commented on August 17, 2024

Glad you solve the problem. Have just committed an example under GCNv2: GCNv2_SLAM/GCN2/create_voc.cc
The path to model and dataset should be modified to your own ones.

glob("/home/t/Workspace/GCNV2/SUN3D/mono1/*.png", fn, false);

no “saveToBinaryFile” function

from gcnv2_slam.

jiexiong2016 avatar jiexiong2016 commented on August 17, 2024

Have added the function

from gcnv2_slam.

cumtchenchang avatar cumtchenchang commented on August 17, 2024

Please forgive me not to open a new issue, my error is very related to this package. When I use create_voc.cc to train vocabulary, I encountered an error:
/chenchang1/data/CityCentre_test/0010.jpg
... Extraction done!
Creating vocabulary. May take some time ...
Segmentation fault (core dumped)
There are only ten images in my folder, this error is about "voc.create(features);"
Can you solve this problem? Thank you, sincerely.

from gcnv2_slam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.