Open zwt811 opened 1 month ago
I used autoencoder_vq_f4.pth as the VQGAN model to train my own dataset, but during inference, I encountered the error KeyError: 'vae'.
For the task of deblurring, I finetuned the autoencoder with LoRA, which requires the key "vae". Please carefully read the code of this part.
https://github.com/zsyOAOA/ResShift/blob/journal/sampler.py#L103
I used autoencoder_vq_f4.pth as the VQGAN model to train my own dataset, but during inference, I encountered the error KeyError: 'vae'.