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

Open
opened 2022-04-03 15:36:11 +02:00 by Geniuszyd · 3 comments
Geniuszyd commented 2022-04-03 15:36:11 +02:00 (Migrated from github.com)

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?

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 commented 2022-04-07 18:15:31 +02:00 (Migrated from github.com)

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?

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 commented 2022-04-08 09:00:24 +02:00 (Migrated from github.com)

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

Maybe you'd better modification the "./demo/demoConfig.yaml" by yourself.
engcang commented 2022-04-13 19:07:12 +02:00 (Migrated from github.com)

@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.

@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.
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mmr/tkDNN#286