david20571015 commited on
Commit
f02a066
1 Parent(s): 03978f2

Update vqvae/config.json

Browse files

`LDMPipeline` use `scaling_factor` to have unit variance and which is defaults to 0.18215.
But this model config was upload before [this modification](https://github.com/huggingface/diffusers/commit/622f35b1d0dab2d76171048d988c34a911bba9d3).
Therefore, `scaling_factor` should be set to 1 to prevent the [image generation problem](https://github.com/huggingface/diffusers/issues/6725).

Files changed (1) hide show
  1. vqvae/config.json +2 -1
vqvae/config.json CHANGED
@@ -22,5 +22,6 @@
22
  "UpDecoderBlock2D",
23
  "UpDecoderBlock2D",
24
  "UpDecoderBlock2D"
25
- ]
 
26
  }
 
22
  "UpDecoderBlock2D",
23
  "UpDecoderBlock2D",
24
  "UpDecoderBlock2D"
25
+ ],
26
+ "scaling_factor": 1.0
27
  }