Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default

#1
.gitattributes CHANGED
@@ -7,6 +7,7 @@
7
  *.h5 filter=lfs diff=lfs merge=lfs -text
8
  *.joblib filter=lfs diff=lfs merge=lfs -text
9
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
 
10
  *.model filter=lfs diff=lfs merge=lfs -text
11
  *.msgpack filter=lfs diff=lfs merge=lfs -text
12
  *.npy filter=lfs diff=lfs merge=lfs -text
@@ -20,6 +21,7 @@
20
  *.pt filter=lfs diff=lfs merge=lfs -text
21
  *.pth filter=lfs diff=lfs merge=lfs -text
22
  *.rar filter=lfs diff=lfs merge=lfs -text
 
23
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
24
  *.tar.* filter=lfs diff=lfs merge=lfs -text
25
  *.tflite filter=lfs diff=lfs merge=lfs -text
@@ -29,7 +31,3 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
  *.zip filter=lfs diff=lfs merge=lfs -text
30
  *.zst filter=lfs diff=lfs merge=lfs -text
31
  *tfevents* filter=lfs diff=lfs merge=lfs -text
32
- safety_checker/pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
33
- text_encoder/pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
34
- unet/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
35
- vae/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
 
7
  *.h5 filter=lfs diff=lfs merge=lfs -text
8
  *.joblib filter=lfs diff=lfs merge=lfs -text
9
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
10
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
11
  *.model filter=lfs diff=lfs merge=lfs -text
12
  *.msgpack filter=lfs diff=lfs merge=lfs -text
13
  *.npy filter=lfs diff=lfs merge=lfs -text
 
21
  *.pt filter=lfs diff=lfs merge=lfs -text
22
  *.pth filter=lfs diff=lfs merge=lfs -text
23
  *.rar filter=lfs diff=lfs merge=lfs -text
24
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
25
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
26
  *.tar.* filter=lfs diff=lfs merge=lfs -text
27
  *.tflite filter=lfs diff=lfs merge=lfs -text
 
31
  *.zip filter=lfs diff=lfs merge=lfs -text
32
  *.zst filter=lfs diff=lfs merge=lfs -text
33
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
unet/config.json CHANGED
@@ -27,7 +27,7 @@
27
  "norm_eps": 1e-05,
28
  "norm_num_groups": 32,
29
  "out_channels": 4,
30
- "sample_size": 32,
31
  "up_block_types": [
32
  "UpBlock2D",
33
  "CrossAttnUpBlock2D",
 
27
  "norm_eps": 1e-05,
28
  "norm_num_groups": 32,
29
  "out_channels": 4,
30
+ "sample_size": 64,
31
  "up_block_types": [
32
  "UpBlock2D",
33
  "CrossAttnUpBlock2D",
vae/diffusion_pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:75c12b173d40354768c68eb823ad00b6fe526c5827e15f7ba64113eed249cc31
3
- size 169796545
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:805ef111543a7a746ce2cff89f8cbbbb52fff576da0df6910e2693732278722d
3
+ size 167351143