-
Notifications
You must be signed in to change notification settings - Fork 839
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
报错:在checkpoint的ootd文件夹中缺少config.json文件,但是项目仓库里没有相应的文件可下载 #212
Comments
I am getting the same error. Did you find solution.
|
SOLUTION (venv) C:\ai\OOTDiffusion\run>python gradio_ootd.py |
我也是和你一样的报错 |
你运行这个文件没有报错吗 |
Yes. Video tutorial for Windows users coning soon. |
我运行gradio_ootd.py仍然有相同的报错 |
而且我是在Ubuntu22系统上运行的 |
I also have this problem and python gradio_ootd.py doesn't help for this case
|
See if this helps |
我按视频进行修改并运行gradio_ootd.py后仍然提示报错:在checkpoint的ootd文件夹里缺少config.json |
Please paste the complete content of command prompt. |
@nitinmukesh OSError: Error no file named config.json found in directory ../checkpoints/ootd. |
You need to paste the full content, not just error.
I installed again after deleting the previous installation and it worked. |
@nitinmukesh |
Just try following the steps as shown in video, should work on Linux too. Start installing in different folder. Also share the screenshot of checkpoints folder. There should be 4 folders inside it. Compare with the following .
|
对比你的文件和我的文件我发现了问题,我的文件名比你的多了一些前缀,我把文件名修改成和你的一样后就变成了另外的报错 |
Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
I still think you are not following the video guide. |
好的,我再重新尝试一下 |
i installed config and it fixed the problem, do : pip install config |
Traceback (most recent call last):
File "/home/srp/ootd/OOTDiffusion/run/gradio_ootd.py", line 22, in
ootd_model_hd = OOTDiffusionHD(0)
File "/home/srp/ootd/OOTDiffusion/ootd/inference_ootd_hd.py", line 37, in init
vae = AutoencoderKL.from_pretrained(
File "/home/srp/miniconda3/envs/ootd/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 712, in from_pretrained
config, unused_kwargs, commit_hash = cls.load_config(
File "/home/srp/miniconda3/envs/ootd/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 365, in load_config
raise EnvironmentError(
OSError: Error no file named config.json found in directory ../checkpoints/ootd.
报错说我在ootd文件夹里少了个config.json,但是我在这个项目的仓库里没看到这个文件可供下载
The text was updated successfully, but these errors were encountered: