-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
Hi!
Thank you for sharing this tool.
I was having this issue while running faced with an .mp4 video.
This is the terminal output:
Traceback (most recent call last):
File "../bin/faced", line 143, in <module>
run_video(path, t, args.save)
File "../bin/faced", line 103, in run_video
if frame.shape[0] == 0:
AttributeError: 'NoneType' object has no attribute 'shape'
The segment of the code that is pointing in faced is:
...
cap = cv2.VideoCapture(path)
...
# Capture frame-by-frame
ret, frame = cap.read()
if frame.shape[0] == 0:
break
Have you got any idea what can be happening here?
I am using a python3 conda enviroment, with tensorflow-gpu installed.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels