TMElyralab / MuseV

MuseV: Infinite-length and High Fidelity Virtual Human Video Generation with Visual Conditioned Parallel Denoising
Other
2.43k stars 258 forks source link

video2video 运行完后,gradio前端获取不到生成的视频 #61

Closed redstarxz closed 6 months ago

redstarxz commented 6 months ago

系统环境:win11 问题描述: 通过gradio运行video2video, 在result目录下能找到生成的视频

out_videos.shape (1, 3, 30, 1152, 832) Save to ./results/vm2v_m=majicmixRealv6Fp16_rm=musev_referencenet_c=clutf0ynv000254vswb8l2rf5_w=832_h=1152_t=30_n=1_vn=10_w=0.001_w=0.5_s=7133457_n=dwpose_body_hand_s=0.8_g=7.5_vs=1.0_vg=3.5_p=84d96_V2_r=clu_ip=clu_f=no.mp4

Traceback (most recent call last): File "D:\condax\musev\lib\site-packages\gradio\queueing.py", line 388, in call_prediction output = await route_utils.call_process_api( File "D:\condax\musev\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api output = await app.get_blocks().process_api( File "D:\condax\musev\lib\site-packages\gradio\blocks.py", line 1440, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "D:\condax\musev\lib\site-packages\gradio\blocks.py", line 1341, in postprocess_data prediction_value = block.postprocess(prediction_value) File "D:\condax\musev\lib\site-packages\gradio\components\video.py", line 281, in postprocess processed_files = (self._format_video(y), None) File "D:\condax\musev\lib\site-packages\gradio\components\video.py", line 355, in _format_video video = self.make_temp_copy_if_needed(video) File "D:\condax\musev\lib\site-packages\gradio\components\base.py", line 234, in make_temp_copy_if_needed shutil.copy2(file_path, full_temp_file_path) File "D:\condax\musev\lib\shutil.py", line 434, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) File "D:\condax\musev\lib\shutil.py", line 256, in copyfile with open(dst, 'wb') as fdst: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\moviex\AppData\Local\Temp\gradio\4c8e4ba69b6c12f49c4755c1290e941cafe1d67e\vm2v_mmajicmixRealv6Fp16_rmmusev_referencenet_cclutf0ynv000254vswb8l2rf5_w832_h1152_t30_n1_vn10_w0.001_w0.5_s7133457_ndwpose_body_hand_s0.8_g7.5_vs1.0_vg3.5_p84d96_V2_rclu_ipclu_fno.mp4'

redstarxz commented 6 months ago

改了下windows的临时文件存储路径,就可以了