I was trying to run "python3 yolo.py --video-path='/media/lamp-moving.mpg".
(I am using 4.1.0 version of cv2)
And then the following error comes up:
Traceback (most recent call last):
File "yolo.py", line 146, in
writer.release()
AttributeError: 'NoneType' object has no attribute 'release'
Thank you
I was trying to run "python3 yolo.py --video-path='/media/lamp-moving.mpg".
(I am using 4.1.0 version of cv2)
And then the following error comes up:
Traceback (most recent call last):
File "yolo.py", line 146, in
writer.release()
AttributeError: 'NoneType' object has no attribute 'release'
Thank you