YOLO v4 에러 메모

카테고리 없음 2021. 9. 16. 04:44

https://github.com/hunglc007/tensorflow-yolov4-tflite/issues/368

 

OpenCV(4.5.2) :-1: error: (-5:Bad argument) in function 'rectangle' · Issue #368 · hunglc007/tensorflow-yolov4-tflite

After saving the model, running detection with 'python detect.py --weights ./checkpoints/yolov4-416 --size 416 --model yolov4 --images ./data/images/kite.jpg' give me an error of: cv2.error...

github.com

 

cv2.error: OpenCV(4.5.2) :-1: error: (-5:Bad argument) in function 'rectangle' > Overload resolution failed: > - Can't parse 'pt1'. Sequence item with index 0 has a wrong type > - Can't parse 'pt1'. Sequence item with index 0 has a wrong type > - Can't parse 'rec'. Expected sequence length 4, got 2 > - Can't parse 'rec'. Expected sequence length 4, got 2

admin