You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ERROR ] List of operations that cannot be converted to Inference Engine IR:
........................
[ ERROR ] Part of the nodes was not converted to IR. Stopped.
Be sure to install OpenVINO2020R4!!!
2、 Any reshape array error
Make sure .names file , JSON file's "classes" are correct
Make sure you train your YOLO model correctly
If you want to use yolov4-tiny, don‘t forget --tiny when running convert_weights_pb.py
3、How to set image size? Default image size is 416*416
For example,if you want to use 608*608 python convert_weights_pb.py --class_names cfg/coco.names --weights_file yolov4.weights --data_format NHWC --size 608
4、 Can i set different height and width? If you want to use 640*480 remember to change this line
why id is still TFYOLOV3? If we change TFYOLOV3 to TFYOLOV4,errors will happen when running the demo.Like this:
Traceback (most recent call last): File "object_detection_demo_yolov3_async.py", line 518, in sys.exit(main() or 0) File "object_detection_demo_yolov3_async.py", line 398, in main args.keep_aspect_ratio) File "object_detection_demo_yolov3_async.py", line 233, in get_objects out_blob = out_blob.buffer.reshape(net.layers[net.layers[layer_name].parents[0]].out_data[0].shape) ValueError: cannot reshape array of size 460275 into shape (1,5415,4)
Anyone who knows how to solve this problem could communicate with me
9、C++ demo? i have provided python demo.But you also could use this repos to convert model and run on C++ demo.
10、FP32 ,FP16 The default precision is FP32,if you want to use FP16 ,add --data_type FP16 when you run mo.py
11、OpenVINO version
All the inference devices are running normally in OpenVINO2020.4 and 2021.3
But GPU devices have bugs in the new version OpenVINO2021.1,2021.2 which has already been fixed in OpenVINO2021.3 openvinotoolkit/openvino#2925
If you want to use newer OpenVINO version:
Use the tensorflow1.x version required when installing OpenVINO
This repository provides python inference demo for different OpenVINO version.pythondemo.Choose the right demo before you run object_detection_demo_yolov3_async.py
You could also use C++ inference demo provided by OpenVINO.(For example,OpenVINO2021.3 default C++ demo path::C:\Program Files (x86)\Intel\openvino_2021.3.394\deployment_tools\open_model_zoo\demos\multi_channel_object_detection_demo_yolov3\cpp))
The text was updated successfully, but these errors were encountered:
1、
Be sure to install OpenVINO2020R4!!!
2、 Any reshape array error
--tiny
when running convert_weights_pb.py3、How to set image size?
Default image size is 416*416
For example,if you want to use 608*608
python convert_weights_pb.py --class_names cfg/coco.names --weights_file yolov4.weights --data_format NHWC --size 608
4、 Can i set different height and width?
If you want to use 640*480 remember to change this line
OpenVINO-YOLOV4/convert_weights_pb.py
Line 38 in 534cca3
to
inputs = tf.placeholder(tf.float32, [None, 640, 480, 3], "inputs")
and run
python convert_weights_pb.py --class_names cfg/coco.names --weights_file yolov4.weights --data_format NHWC
5、How to use custom model?
(1) When running convert_weights_pb.py use your .names file
(2) Modify "classes" in yolov4.json
6、why mo.py use --reverse_input_channels?
Darknet:pjreddie/darknet#427
Tensorflow(my project is based on mystic123 Tensorflow YOLOV3):mystic123/tensorflow-yolo-v3#2
OpenVINO OpenCV :BGR
7、YOLOV4 .weights download
yolov4
yolov4tiny
8、
OpenVINO-YOLOV4/yolov4.json
Line 3 in 534cca3
why id is still TFYOLOV3?
If we change TFYOLOV3 to TFYOLOV4,errors will happen when running the demo.Like this:
Traceback (most recent call last): File "object_detection_demo_yolov3_async.py", line 518, in sys.exit(main() or 0) File "object_detection_demo_yolov3_async.py", line 398, in main args.keep_aspect_ratio) File "object_detection_demo_yolov3_async.py", line 233, in get_objects out_blob = out_blob.buffer.reshape(net.layers[net.layers[layer_name].parents[0]].out_data[0].shape) ValueError: cannot reshape array of size 460275 into shape (1,5415,4)
Anyone who knows how to solve this problem could communicate with me
9、C++ demo?
i have provided python demo.But you also could use this repos to convert model and run on C++ demo.
10、FP32 ,FP16
The default precision is FP32,if you want to use FP16 ,add
--data_type FP16
when you run mo.py11、OpenVINO version
All the inference devices are running normally in OpenVINO2020.4 and 2021.3
But GPU devices have bugs in the new version OpenVINO2021.1,2021.2 which has already been fixed in OpenVINO2021.3
openvinotoolkit/openvino#2925
If you want to use newer OpenVINO version:
:C:\Program Files (x86)\Intel\openvino_2021.3.394\deployment_tools\open_model_zoo\demos\multi_channel_object_detection_demo_yolov3\cpp)
)The text was updated successfully, but these errors were encountered: