我在云端上运行,然后出了
OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
Traceback (most recent call last):
File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/gradio/blocks.py", line 1431, in process_api
result = await self.call_function(
File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/gradio/blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, args)
File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/gradio/utils.py", line 707, in wrapper
response = f(args, **kwargs)
File "/root/autodl-tmp/stable-diffusion-webui/extensions/sd-webui-mov2mov-master/scripts/m2m_ui.py", line 576, in calc_video_w_h
return m2m_util.calc_video_w_h(video)
File "/root/autodl-tmp/stable-diffusion-webui/extensions/sd-webui-mov2mov-master/scripts/m2m_util.py", line 12, in calc_video_w_h
raise ValueError("Can't open video file")
ValueError: Can't open video file
的报错,所以,他是从哪读取视频文件的?想手动输入来着
我在云端上运行,然后出了 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
Traceback (most recent call last): File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/gradio/blocks.py", line 1431, in process_api result = await self.call_function( File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/gradio/blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, args) File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/gradio/utils.py", line 707, in wrapper response = f(args, **kwargs) File "/root/autodl-tmp/stable-diffusion-webui/extensions/sd-webui-mov2mov-master/scripts/m2m_ui.py", line 576, in calc_video_w_h return m2m_util.calc_video_w_h(video) File "/root/autodl-tmp/stable-diffusion-webui/extensions/sd-webui-mov2mov-master/scripts/m2m_util.py", line 12, in calc_video_w_h raise ValueError("Can't open video file") ValueError: Can't open video file 的报错,所以,他是从哪读取视频文件的?想手动输入来着