Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6571 토론

A big problem with convert yolov3 to openvino format

BuuVo
새로운 기여자 I
1,644 조회수

Hi every one,

Following https://docs.openvinotoolkit.org/latest/openvino_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_YOLO_From_Tensorflow.html artical, I converted yolov3 to openvino format, and then I used this source code and modify a little bit  to do predictions. However the object outputs are always Zero and I don't know what is wrong with my conversion's step.

Here is the yolo_v3.json:

[
  {
    "id": "TFYOLOV3",
    "match_kind": "general",
    "custom_attributes": {
      "classes": 14,
      "anchors": [10, 13, 16, 30, 33, 23, 30, 61, 62, 45, 59, 119, 116, 90, 156, 198, 373, 326],
      "coords": 4,
      "num": 9,
      "masks":[[0, 1, 2], [3, 4, 5], [6, 7, 8]],
      "entry_points": ["detector/yolo-v3/Reshape", "detector/yolo-v3/Reshape_4", "detector/yolo-v3/Reshape_8"]
    }
  }
]

If any one know about my problem please let me know.

Thank you very much and best regard,

Buu Vo.

0 포인트
1 솔루션
IntelSupport
관리자
1,619 조회수

 

Hi Buu Vo,

I believe the conversion is correct since you are following the OpenVINO documentation. I found that this is a known issue with the program. There is a bug in the program that the frame display position is shifted and giving a poor performance. I believe you already following the correction suggested in the repository but unfortunately, there is nothing we can suggest for now since this is due to the bug with the program itself.

 

Regards,

Aznie


원본 게시물의 솔루션 보기

0 포인트
6 응답
BuuVo
새로운 기여자 I
1,643 조회수

The source code that I follow and modify to predictions is: https://github.com/PINTO0309/OpenVINO-YoloV3/blob/master/openvino_yolov3_test.py

0 포인트
BuuVo
새로운 기여자 I
1,630 조회수

After converting yolo.weights to tensorflow protobuf, I do predictions again and the results are worse than original testing with yolo-darknet.

I used the below command to convert yolo to protobuf.

$python convert_weights_pb.py --class_names yolo.names --data_format NHWC --weights_file yolov3_last.weights

So, may I make something wrong when converting from yolo.weights to protobuf?

Thanks.

 

0 포인트
IntelSupport
관리자
1,626 조회수

Hi Buu Vo,


Thanks for reaching out. We are currently investigating this and will get back to you with the information at the earliest.


Regards,

Aznie




0 포인트
IntelSupport
관리자
1,620 조회수

 

Hi Buu Vo,

I believe the conversion is correct since you are following the OpenVINO documentation. I found that this is a known issue with the program. There is a bug in the program that the frame display position is shifted and giving a poor performance. I believe you already following the correction suggested in the repository but unfortunately, there is nothing we can suggest for now since this is due to the bug with the program itself.

 

Regards,

Aznie


0 포인트
BuuVo
새로운 기여자 I
1,607 조회수
0 포인트
IntelSupport
관리자
1,599 조회수

Hi Buu Vo,

This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.


Regards,

Aznie


0 포인트
응답