Closed suzukimain closed 1 year ago
Is there any way to download vae for a model where config.json is not in the root directory?
vae = AutoencoderKL.from_pretrained("redstonehero/kl-f8-anime2")
For example, as shown above, there is no problem if config.json exists in the root directory, but if it does not exist, an error will occur.
vae = AutoencoderKL.from_pretrained("hakurei/waifu-diffusion")
I would be glad to get your advice.
Hi, @suzukimain you can use subfolder="vae". I would recommend you take advantage of the forum as these questions are better answered in the forum.
subfolder="vae"
Resolved. Thanks for the advice.
Is there any way to download vae for a model where config.json is not in the root directory?
For example, as shown above, there is no problem if config.json exists in the root directory, but if it does not exist, an error will occur.
I would be glad to get your advice.