-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Python virtual environment is correct but I get the following error when I run "bash ./execute_pipeline.sh ./0_input ./output" #3
Comments
The following slave error occurred when I used video as input, Processing: ./0_input/multi_face.avi |
This seems to be an error during shot segmentation in pyannote library's pyannote_shot function. Can you try it with a different video? Preferably a mp4 file. The error you see may have occured due to a bad/unreadable video frame. |
Thanks,I will try it later. Zhongyu Ma 邮箱:[email protected] 签名由 网易邮箱大师 定制 On 01/20/2020 05:20, Devendra Pratap Yadav wrote: This seems to be an error during shot segmentation in pyannote library's pyannote_shot function. Can you try it with a different video? Preferably a mp4 file. The error you see may have occured due to a bad/unreadable video frame. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
|
I got the same error while trying the code and found the way around. So to run it just change the elif condition from OPENCV == 3 to OPENCV >= 3 |
@ZhongyuMa Did the above help resolve the issue for you? |
egin Stage 1 : Shot Segmentation
Processing: ./0_input/image00002.jpg
Traceback (most recent call last):
File "shot_segmentation.py", line 93, in
do_shot_segmentation(f, filePath, input_folder, output_folder);
File "shot_segmentation.py", line 56, in do_shot_segmentation
output = pyannote_shot(filePath)
File "shot_segmentation.py", line 38, in pyannote_shot
for x in shots:
File "/home/yu/anaconda3/envs/face/lib/python3.6/site-packages/pyannote/video/structure/shot.py", line 120, in iter
t, y = zip(*self.iter_dfd())
ValueError: not enough values to unpack (expected 2, got 0)
The text was updated successfully, but these errors were encountered: