I got an error

#2
by Insoo1 - opened

Hi,

I used the following code.

from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained("mit-han-lab/dc-ae-f32c32-sana-1.1-diffusers")

However, I got an error "Entry Not Found for url: https://huggingface.co/mit-han-lab/dc-ae-f32c32-sana-1.0-diffusers/resolve/main/model_index.json.".

Could you please check this?

Thank you.

MIT HAN Lab org

Hi,

The class of DC-AE (Deep Compression Autoencoder) in diffusers is AutoencoderDC instead of DiffusionPipeline. The following code works for me.

from diffusers import AutoencoderDC
dc_ae=AutoencoderDC.from_pretrained("mit-han-lab/dc-ae-f32c32-sana-1.1-diffusers")

You can also follow the instructions here for encoding and decoding images.

Best,
Junyu

Hi Junyu,

Thank you for the clarification! I tested it with AutoencoderDC, and it works well for me. I appreciate the helpful reference!

Best,
Insoo

Insoo1 changed discussion status to closed

Sign up or log in to comment