CyberAgentAILab / TANGO

Official implementation of the paper "TANGO: Co-Speech Gesture Video Reenactment with Hierarchical Audio-Motion Embedding and Diffusion Interpolation"
https://pantomatrix.github.io/TANGO/
Other
358 stars 77 forks source link

How to remove audio and video length restrictions? #4

Open mnbv7758 opened 4 weeks ago

mnbv7758 commented 4 weeks ago

How to remove audio and video length restrictions?

H-Liu1997 commented 3 weeks ago

audio limitation:

https://github.com/CyberAgentAILab/TANGO/blob/e24a2f4c64f4e9addb57aad1ebb8cdaf2eeada6c/app.py#L558-L562

video limitiaion:

https://github.com/CyberAgentAILab/TANGO/blob/e24a2f4c64f4e9addb57aad1ebb8cdaf2eeada6c/app.py#L479-L504

wangaocheng commented 2 weeks ago

@H-Liu1997 可以把具体要修改的位置和代码告诉我吗?

tsxxdw commented 2 weeks ago

1 required_length = int(TARGET_SR (128 / 30)) 2 2 frames_to_save = fps* 20 @wangaocheng 改这2行就行了,分别是声音和视频的时长控制。