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

config.json does not exist #25

Open
Ashwaniverma12 opened this issue Jan 30, 2024 · 0 comments
Open

config.json does not exist #25

Ashwaniverma12 opened this issue Jan 30, 2024 · 0 comments

Comments

@Ashwaniverma12
Copy link

I am getting an error when running the inference . can anyone help me with this?
python sample_scripts/with_mask_sample.py --config configs/sample_i2v.yaml
loading model
Traceback (most recent call last):
File "/home/ubuntu/PycharmProjects/pythonProject/SEINE/sample_scripts/with_mask_sample.py", line 243, in
main(omega_conf)
File "/home/ubuntu/PycharmProjects/pythonProject/SEINE/sample_scripts/with_mask_sample.py", line 190, in main
model = get_models(args).to(device)
File "/home/ubuntu/PycharmProjects/pythonProject/SEINE/models/init.py", line 30, in get_models
return UNet3DConditionModel.from_pretrained_2d(pretrained_model_path, subfolder="unet", use_concat=args.use_mask)
File "/home/ubuntu/PycharmProjects/pythonProject/SEINE/models/unet.py", line 584, in from_pretrained_2d
raise RuntimeError(f"{config_file} does not exist")
RuntimeError: /home/ubuntu/PycharmProjects/pythonProject/SEINE/unet/config.json does not exist

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