at1993

Results 7 comments of at1993

Awesome! Thanks.

Hi TNTWEN, I got the following error when running the script python "C:\Program Files (x86)\Intel\openvino_2021.3.394\deployment_tools\model_optimizer\mo.py" --input_model frozen_darknet_yolov4_model.pb --batch 1 --reverse_input_channels --output detector/yolo-v4/Conv_94/BiasAdd,detector/yolo-v4/Conv_104/BiasAdd,detector/yolo-v4/Conv_114/BiasAdd/ D:\Programming\Python\OpenVINO-YOLOV4-Scaled\yolov4-csp>python "C:\Program Files (x86)\Intel\openvino_2021.3.394\deployment_tools\model_optimizer\mo.py" --input_model frozen_darknet_yolov4_model.pb --batch 1...

Thanks, it works now. The python program is running OK, However, when I run it with the C++ object_detection_demo program, it returns an error. \Documents\Intel\OpenVINO\omz_demos_build\intel64\Release>object_detection_demo -m "D:\Programming\Python\OpenVINO-YOLOV4-Scaled\yolov4-csp\frozen_darknet_yolov4_model.xml" -i "waikikibeach.mp4" -d...

Do you have any sample code in C++ for this "special treatment" as my library is written in C++? Would love to be able to run it in C++.

I think I found my problem, I did not change the number of class in the yolov4-tiny.json file. After I corrected that, it seems to perform better.

Note: the masks values in the yolo_v4_tiny.json should match the one used in the cfg file. For custom yolov4-tiny, the following should be changed: "masks": [[3, 4, 5], [1, 2,...