hpcaitech / Open-Sora

Open-Sora: Democratizing Efficient Video Production for All
https://hpcaitech.github.io/Open-Sora/
Apache License 2.0
21.73k stars 2.1k forks source link

文件明明是存在的。为什么会出现这种错误提示? #711

Open whois206 opened 1 week ago

whois206 commented 1 week ago

python app.py
Traceback (most recent call last):
File "D:\opensora\gradio\app.py", line 154, in
config = read_config(CONFIG_MAP[args.model_type])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\opensora\gradio\app.py", line 82, in read_config
return Config.fromfile(config_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\chen\AppData\Local\Programs\Python\Python312\Lib\site-packages\mmengine\config\config.py", line 460, in fromfile
lazy_import is None and not Config._is_lazy_import(filename):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\chen\AppData\Local\Programs\Python\Python312\Lib\site-packages\mmengine\config\config.py", line 1661, in _is_lazy_import
with open(filename, encoding='utf-8') as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'configs/opensora-v1-2/inference/sample.py'

github-actions[bot] commented 1 day ago

This issue is stale because it has been open for 7 days with no activity.