You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using your code for a video but it was giving an error while running demo_syncnet.py file. It ran fine for the example.avi but is not running for my video. Can you help me?
Hey,
Thank you for pointing that out. I downloaded the video from youtube so didn't expect this error.
I tried to do that using DaVinci video editing tool but since the difference in lengths is very small, its not able to detect to that precision. Can you suggest any better tool? Or is it possible if I send you the video and you can give me the detected active speakers?
Actually demo_syncnet.py has a pretty restricted usage. It will work only for videos that are similar in format (i.e. size, amount of faces) to example.avi. In order to obtain results for arbitrary video, you need to pass it throught the whole pipeline, as pointed later in the README:
Here run_pipeline.py will preprocess the video in a proper way (dividing by scenes, detecting faces, cropping etc.) so that run_syncnet.py would be able to do its job.
Reacted by Safwan Mohammed, ZZZq, Luka Svaguša, Ege Demir and Ziwei Zhou
Actually demo_syncnet.py has a pretty restricted usage. It will work only for videos that are similar in format (i.e. size, amount of faces) to example.avi. In order to obtain results for arbitrary video, you need to pass it throught the whole pipeline, as pointed later in the README:
Here run_pipeline.py will preprocess the video in a proper way (dividing by scenes, detecting faces, cropping etc.) so that run_syncnet.py would be able to do its job.
Actually demo_syncnet.py has a pretty restricted usage. It will work only for videos that are similar in format (i.e. size, amount of faces) to example.avi. In order to obtain results for arbitrary video, you need to pass it throught the whole pipeline, as pointed later in the README:
Here run_pipeline.py will preprocess the video in a proper way (dividing by scenes, detecting faces, cropping etc.) so that run_syncnet.py would be able to do its job.
can you share some methods for preprocessing wav2lip datasets with this project? thank you .
Actually demo_syncnet.py has a pretty restricted usage. It will work only for videos that are similar in format (i.e. size, amount of faces) to example.avi. In order to obtain results for arbitrary video, you need to pass it throught the whole pipeline, as pointed later in the README:
Full pipeline:
Here run_pipeline.py will preprocess the video in a proper way (dividing by scenes, detecting faces, cropping etc.) so that run_syncnet.py would be able to do its job.
Activity
hrzisme commentedon Feb 28, 2021
Make sure the length of your video and audio are same.
samyak0210 commentedon Feb 28, 2021
Hey,
Thank you for pointing that out. I downloaded the video from youtube so didn't expect this error.
I tried to do that using DaVinci video editing tool but since the difference in lengths is very small, its not able to detect to that precision. Can you suggest any better tool? Or is it possible if I send you the video and you can give me the detected active speakers?
hrzisme commentedon Mar 13, 2021
U can solve your problems by using ffmpeg
hanbaobao950123 commentedon Jun 10, 2021
I solved the problem by resizing he frames of the video to 224x224.
EhsanRusta commentedon Jul 25, 2022
Hello, I have same issue, would you tell me how you fixed it? @samyak0210
Momotyust commentedon Jul 27, 2022
@EhsanRusta maybe you shuld resize your video frame to 224x224, just like the example.avi
hannarud commentedon Aug 30, 2022
Actually
demo_syncnet.pyhas a pretty restricted usage. It will work only for videos that are similar in format (i.e. size, amount of faces) toexample.avi. In order to obtain results for arbitrary video, you need to pass it throught the whole pipeline, as pointed later in the README:Full pipeline:
Here
run_pipeline.pywill preprocess the video in a proper way (dividing by scenes, detecting faces, cropping etc.) so thatrun_syncnet.pywould be able to do its job.wllps1988315 commentedon Jan 19, 2023
and how to filter dataset for wav2lip?
ThetaRgo commentedon Apr 19, 2023
can you share some methods for preprocessing wav2lip datasets with this project? thank you .
MisterCapi commentedon Apr 29, 2024
just change
to
in SyncNetInstance.py
the model was not meant to work with other shapes
guo-king666 commentedon May 7, 2024
请问你知道如何过滤数据集了吗
kashishnaqvi10 commentedon May 8, 2024
Hey, were you able to filter dataset?