latent-diffusion
latent-diffusion copied to clipboard
No such file or directory: 'configs/first_stage_models/vq-f4/model.yaml'
Hi,
When I am trying to train a LDM model as "CUDA_VISIBLE_DEVICES=1 python main.py --base configs/latent-diffusion/lsun_bedrooms-ldm-vq-4.yaml -t --gpus 0", there is an error massage as "No such file or directory: 'configs/first_stage_models/vq-f4/model.yaml'".
Does anyone know how to address it?
Thanks,
I am running into to same issues
I changed the value of ckpt_path to be "models/first_stage_models/vq-f4/model.ckpt". But.. if I run training, a message "Restored from models/first_stage_models/vq-f4/model.ckpt with 0 missing and 55 unexpected keys" is printed out. No idea yet what 55 unexpected keys are.
-- The 55 unexpected keys are from loss.perceptual_loss and loss.discriminator.
I also have the same issue here. If there are someone who solved this problem, please let me know.
bash scripts/download_first_stages.sh
Download ckpt first as described in README.
I have the same issue about unexpected keys. Do you know how to solve this issue?
I solved this issue by revising the ckpt_path
as models/first_stage_models/vq-f4/model.ckpt
in configs/latent-diffusion/lsun_bedrooms-ldm-vq-4.yaml
.
First, you should make sure you have downloaded the ckpt files by running:
bash scripts/download_first_stages.sh
Then, you could find the ckpt file in models/first_stage_models/vq-f4
.
i am experiencing the same problem. everyone mentioned about how to get .ckpt but we did not fine yaml file corresponding