ThinkSound icon indicating copy to clipboard operation
ThinkSound copied to clipboard

Issue with demo.bat

Open gravis778 opened this issue 1 year ago • 2 comments

Looks like it may be the same issue that's occurring with Gradio

S:\ThinkSound>conda activate thinksound

(thinksound) S:\ThinkSound>.\scripts\demo.bat <H:\AI Videos\Kling\0b2a3943.mp4> <SailorMoonTest.mp4> < was unexpected at this time.

(thinksound) S:\ThinkSound>cd scripts

(thinksound) S:\ThinkSound\scripts>demo.bat <H:\AI Videos\Kling\0b2a3943.mp4> <SailorMoonTest.mp4> < was unexpected at this time.

(thinksound) S:\ThinkSound\scripts>cd ..

(thinksound) S:\ThinkSound>.\scripts\demo.bat "H:\AI Videos\Kling\0b2a3943.mp4" SailorMoonTest.mp4 A magical girl with futuristic robotic armor dances above a busy futuristic city street full of people. Her shoes stomps on the rock pedestal. She kicks over a metal robot which crashes into a metal motorcycle. VIDEO_EXT is: mp4 Copying "H:\AI Videos\Kling\0b2a3943.mp4" to "videos\demo.mp4" 1 file(s) copied. Duration is: 10 Extracting features... C:\Users\removed\AppData\Local\Programs\Miniconda3\envs\thinksound\lib\site-packages\librosa\util\files.py:10: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import resource_filename Traceback (most recent call last): File "S:\ThinkSound\extract_latents.py", line 10, in from data_utils.v2a_utils.feature_utils_224 import FeaturesUtils as OriginalFeatures File "S:\ThinkSound\data_utils\v2a_utils\feature_utils_224.py", line 3, in import open_clip ModuleNotFoundError: No module named 'open_clip' Feature extraction failed.

You can solve this by running:

pip install open_clip_torch==2.32.0

Alternatively, you can try reinstalling ThinkSound with:

pip install thinksound --upgrade

liuhuadai avatar Jul 16 '25 02:07 liuhuadai

Thanks, this worked

gravis778 avatar Jul 20 '25 19:07 gravis778