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
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.8/site-packages/gradio/queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "/root/miniconda3/lib/python3.8/site-packages/gradio/route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "/root/miniconda3/lib/python3.8/site-packages/gradio/blocks.py", line 1561, in process_api
result = await self.call_function(
File "/root/miniconda3/lib/python3.8/site-packages/gradio/blocks.py", line 1179, in call_function
prediction = await anyio.to_thread.run_sync(
File "/root/miniconda3/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/root/miniconda3/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/root/miniconda3/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/root/miniconda3/lib/python3.8/site-packages/gradio/utils.py", line 695, in wrapper
response = f(*args, **kwargs)
File "/root/Linly-Talker/src/cost_time.py", line 7, in wrapper
result = func(*args, **kwargs)
File "webui.py", line 365, in MuseTalker_response
video = musetalker.inference_noprepare(driven_audio, source_video, bbox_shift, batch_size, fps=25)
File "/root/Linly-Talker/TFG/MuseTalk.py", line 352, in inference_noprepare
for i, (whisper_batch,latent_batch) in enumerate(tqdm(gen,total=int(np.ceil(float(video_num)/batch_size)))):
File "/root/miniconda3/lib/python3.8/site-packages/tqdm/std.py", line 1178, in iter
for obj in iterable:
File "/root/Linly-Talker/./Musetalk/musetalk/utils/utils.py", line 49, in datagen
idx = (i+delay_frame)%len(vae_encode_latents)
TypeError: object of type 'NoneType' has no len()
The text was updated successfully, but these errors were encountered:
使用MuseTalk的example时出现以下错误
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.8/site-packages/gradio/queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "/root/miniconda3/lib/python3.8/site-packages/gradio/route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "/root/miniconda3/lib/python3.8/site-packages/gradio/blocks.py", line 1561, in process_api
result = await self.call_function(
File "/root/miniconda3/lib/python3.8/site-packages/gradio/blocks.py", line 1179, in call_function
prediction = await anyio.to_thread.run_sync(
File "/root/miniconda3/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/root/miniconda3/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/root/miniconda3/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/root/miniconda3/lib/python3.8/site-packages/gradio/utils.py", line 695, in wrapper
response = f(*args, **kwargs)
File "/root/Linly-Talker/src/cost_time.py", line 7, in wrapper
result = func(*args, **kwargs)
File "webui.py", line 365, in MuseTalker_response
video = musetalker.inference_noprepare(driven_audio, source_video, bbox_shift, batch_size, fps=25)
File "/root/Linly-Talker/TFG/MuseTalk.py", line 352, in inference_noprepare
for i, (whisper_batch,latent_batch) in enumerate(tqdm(gen,total=int(np.ceil(float(video_num)/batch_size)))):
File "/root/miniconda3/lib/python3.8/site-packages/tqdm/std.py", line 1178, in iter
for obj in iterable:
File "/root/Linly-Talker/./Musetalk/musetalk/utils/utils.py", line 49, in datagen
idx = (i+delay_frame)%len(vae_encode_latents)
TypeError: object of type 'NoneType' has no len()
The text was updated successfully, but these errors were encountered: