diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Autoencoder scale values in config

Open samedii opened this issue 3 years ago • 0 comments

What API design would you like to have changed or added to the library? Why?

Would be nice to have some way of getting the appropriate scale value for the VAE like saving it in the config. It is now hardcoded in the pipelines.

I am referring to these two:

1 / 0.08333
1 / 0.18215

What use case would this enable or better enable? Can you give us a code example?

We could avoid hard coding this piece of information "everywhere" with something like

vae.latent_scale  # 1 / 0.18215

samedii avatar Nov 28 '22 19:11 samedii