Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

云端运行时m2m_util.py表示打不开视频文件 #143

Open
Harvey-Walker opened this issue Apr 5, 2024 · 0 comments
Open

云端运行时m2m_util.py表示打不开视频文件 #143

Harvey-Walker opened this issue Apr 5, 2024 · 0 comments

Comments

@Harvey-Walker
Copy link

我在云端上运行,然后出了
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
的报错,所以,他是从哪读取视频文件的?想手动输入来着

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant