Kedreamix / Linly-Talker

Digital Avatar Conversational System - Linly-Talker. 😄✨ Linly-Talker is an intelligent AI system that combines large language models (LLMs) with visual models to create a novel human-AI interaction method. 🤝🤖 It integrates various technologies like Whisper, Linly, Microsoft Speech Services, and SadTalker talking head generation system. 🌟🔬
https://kedreamix.github.io/
MIT License
1.27k stars 222 forks source link

AttributeError: 'MuseTalk_RealTime' object has no attribute 'vae' 开启后点击运行还是显示这个错误 #54

Closed anstonjie closed 2 weeks ago

anstonjie commented 2 weeks ago

image Traceback (most recent call last): File "C:\ProgramData\anaconda3\envs\linly\lib\site-packages\gradio\queueing.py", line 495, in call_prediction output = await route_utils.call_process_api( File "C:\ProgramData\anaconda3\envs\linly\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\ProgramData\anaconda3\envs\linly\lib\site-packages\gradio\blocks.py", line 1561, in process_api result = await self.call_function( File "C:\ProgramData\anaconda3\envs\linly\lib\site-packages\gradio\blocks.py", line 1179, in call_function prediction = await anyio.to_thread.run_sync( File "C:\ProgramData\anaconda3\envs\linly\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\ProgramData\anaconda3\envs\linly\lib\site-packages\anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread return await future File "C:\ProgramData\anaconda3\envs\linly\lib\site-packages\anyio_backends_asyncio.py", line 859, in run result = context.run(func, args) File "C:\ProgramData\anaconda3\envs\linly\lib\site-packages\gradio\utils.py", line 695, in wrapper response = f(args, *kwargs) File "C:\ProgramData\anaconda3\envs\linly\lib\site-packages\gradio\utils.py", line 695, in wrapper response = f(args, **kwargs) File "D:\ai3\Linly-Talker\TFG\MuseTalk.py", line 236, in prepare_material latents = self.vae.get_latents_for_unet(resized_crop_frame) AttributeError: 'MuseTalk_RealTime' object has no attribute 'vae'

Kedreamix commented 2 weeks ago

正常来说,我这个代码应该是默认加载模型的,但是我昨天更新了一下webui,在更新中变成了点击加载模型再去使用musetalk,但是忘记了app_muse中的代码也是需要改正的,所以出现了这个问题,刚刚也有人说我这个问题了,我仔细一看,我发现我还是粗心了,少了一个括号,可以在191行的init_model多加个括号即可正常导入模型

image

Kedreamix commented 2 weeks ago

我已测试没有问题,期待你的反馈

anstonjie commented 2 weeks ago

没有问题了,确实是少了个括号,我加入了就可以了,辛苦大佬

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年06月20日 21:33 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [Kedreamix/Linly-Talker] AttributeError: 'MuseTalk_RealTime' object has no attribute 'vae' 开启后点击运行还是显示这个错误 (Issue #54) |

我已测试没有问题,期待你的反馈

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Kedreamix commented 2 weeks ago

好的,感谢你的反馈