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

terminate called after throwing an instance of 'YAML::ParserException' #286

Open
Geniuszyd opened this issue Apr 3, 2022 · 3 comments
Open

Comments

@Geniuszyd
Copy link

Loading YAML: yolo4_fp32.rt
terminate called after throwing an instance of 'YAML::ParserException'what(): yaml-cpp: error at line 1, column 8: unknown escape character:Aborted (core dumped)

Could you please tell me why?

@mych907
Copy link

mych907 commented Apr 7, 2022

Exact same issue here. Mine was yolo4tiny_fp32.rt
Jetson Nano 4.5.1, TensorRT 7.1.3, CUDA 10.2, OpenCV 4.5.2.

I followed this instruction. (https://github.com/engcang/ros-yolo-sort/tree/master/YOLO_and_ROS_ver)

After exporting the weights and configs to .bin files, .rt file was successfully created.

Trying to run a demo on my sample video, I ran below.

./demo yolo4tiny_fp32.rt ~/test_video.mp4 y 80 1 1

Then the result shows

Loading YAML: yolo4tiny_fp32.rt
terminate called after throwing an instance of 'YAML::ParserException'
  what():  yaml-cpp: error at line 1, column 8: unknown escape character: 
Aborted (core dumped)

Any help?

@Geniuszyd
Copy link
Author

Maybe you'd better modification the "./demo/demoConfig.yaml" by yourself.

@engcang
Copy link

engcang commented Apr 13, 2022

@mych907
Hi. You referred my repo. Thanks.
I recently found that this repo (tkDNN) is updated. So to run a demo, you should do like follows:

./demo tkDNN/demo/demoConfig.yaml

make sure to edit the paths of rt file in the demoConfig.yaml file.

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

3 participants