david8862 / keras-YOLOv3-model-set

end-to-end YOLOv4/v3/v2 object detection pipeline, implemented on tf.keras with different technologies
MIT License
639 stars 221 forks source link

AttributeError: 'NoneType' object has no attribute '__array_interface__' #159

Closed seunghalee1226 closed 3 years ago

seunghalee1226 commented 3 years ago

I always got AttributeError: 'NoneType' object has no attribute '__array_interface__'

I think, it is better to fix some code in yolo.py.

from video_FourCC = cv2.VideoWriter_fourcc('XVID') to video_FourCC = cv2.VideoWriter_fourcc('mp4v')

after fix it, it works well.

david8862 commented 3 years ago

@seunghalee1226 have fixed