Update unet/config.json
Browse filesThe configuration file of the unet has set the default `sample_size` to smaller than 64 which seems highly unlikely. If your checkpoint is a fine-tuned version of any of the following:
- CompVis/stable-diffusion-v1-4
- CompVis/stable-diffusion-v1-3
- CompVis/stable-diffusion-v1-2
- CompVis/stable-diffusion-v1-1
- runwayml/stable-diffusion-v1-5
- runwayml/stable-diffusion-inpainting
you should change 'sample_size' to 64 in the configuration file. Please make sure to update the config accordingly as leaving `sample_size=32` in the config might lead to incorrect results in future versions. If you have downloaded this checkpoint from the Hugging Face Hub, it would be very nice if you could open a Pull request for the `unet/config.json` file
deprecate("sample_size<64", "1.0.0", deprecation_message, standard_warn=False)
- unet/config.json +1 -1
@@ -26,7 +26,7 @@
|
|
26 |
"norm_eps": 1e-05,
|
27 |
"norm_num_groups": 32,
|
28 |
"out_channels": 4,
|
29 |
-
"sample_size":
|
30 |
"up_block_types": [
|
31 |
"UpBlock2D",
|
32 |
"CrossAttnUpBlock2D",
|
|
|
26 |
"norm_eps": 1e-05,
|
27 |
"norm_num_groups": 32,
|
28 |
"out_channels": 4,
|
29 |
+
"sample_size": 64,
|
30 |
"up_block_types": [
|
31 |
"UpBlock2D",
|
32 |
"CrossAttnUpBlock2D",
|