TMElyralab / MuseTalk

MuseTalk: Real-Time High Quality Lip Synchorization with Latent Space Inpainting
Other
2.97k stars 369 forks source link

ModuleNotFoundError: No module named 'musetalk' #84

Closed C-L-STARK closed 6 months ago

C-L-STARK commented 6 months ago

Windows11

PS C:\Users\dylan\Desktop\MuseTalk> python .\scripts\inference.py --inference_config .\configs\inference\test.yaml
Traceback (most recent call last):
  File "C:\Users\dylan\Desktop\MuseTalk\scripts\inference.py", line 12, in <module>
    from musetalk.utils.utils import get_file_type,get_video_fps,datagen
ModuleNotFoundError: No module named 'musetalk'
PS C:\Users\dylan\Desktop\MuseTalk>

how to resolve it?

C-L-STARK commented 6 months ago

image add init.py can'f fix this error.

C-L-STARK commented 6 months ago

好了;已经解决了,使用pycharm-ide + pyenv就好了。只不过改了很多东西,在windows上,里边读取模型的部分,不太正确;可以试着用代码解决一下相对路径的写法。