Skip to content
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

The error : 'std::runtime_error' #16

Closed
ONMEKEEP opened this issue Mar 23, 2020 · 5 comments
Closed

The error : 'std::runtime_error' #16

ONMEKEEP opened this issue Mar 23, 2020 · 5 comments

Comments

@ONMEKEEP
Copy link

Hello.When I ran the ./visualize and selected the data file, the runing window disappeared. But I can run the rangenet_lib correctly. The following are the tips from command window.
/********************************************/
OpenGL Context Version 4.5 core profile
GLEW initialized.
OpenGL context version: 4.5
OpenGL vendor string : NVIDIA Corporation
OpenGL renderer string: GeForce RTX 2060/PCIe/SSE2
Extracting surfel maps partially.
Performing frame-to-model matching.
terminate called after throwing an instance of 'std::runtime_error'
what(): Can't open cfg.yaml from ~/test/darknet53/arch_cfg.yaml
/**********************************************/
Hope someone can help me solve this problem! Thanks.

@Chen-Xieyuanli
Copy link
Member

Hey @ONMEKEEP,

As the error msg says it cannot find the yaml file. Could you please check the path to the model in the config file?

@ONMEKEEP
Copy link
Author

Hey @ONMEKEEP,

As the error msg says it cannot find the yaml file. Could you please check the path to the model in the config file?

Thank you for your reply. The model is located in /home/test/darknet53. And I modified the last line of default.xml with ~/test/darknet53. But it got the above error.

@Chen-Xieyuanli
Copy link
Member

You could try with the full name rather than '~'. The tilde sometimes will not be parsed correctly.

@ONMEKEEP
Copy link
Author

You could try with the full name rather than '~'. The tilde sometimes will not be parsed correctly.

Thank you very much! It really works.

@Chen-Xieyuanli
Copy link
Member

Thank you for using our code. If you like it, you could star, watch and fork our code.

Since the problem is solved, I'm going to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants