Skip to content

config.json does not exist #25

@Ashwaniverma12

Description

@Ashwaniverma12

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions