nakayama commited on
Commit
9c744a0
1 Parent(s): 67ed914

Diffusers変換のベースをSD1.5に変更

Browse files

UNET_PARAMS_IMAGE_SIZEを32から64に

tokenizer/tokenizer_config.json CHANGED
@@ -19,7 +19,7 @@
19
  },
20
  "errors": "replace",
21
  "model_max_length": 77,
22
- "name_or_path": "CompVis/stable-diffusion-v1-4",
23
  "pad_token": "<|endoftext|>",
24
  "special_tokens_map_file": "./special_tokens_map.json",
25
  "tokenizer_class": "CLIPTokenizer",
 
19
  },
20
  "errors": "replace",
21
  "model_max_length": 77,
22
+ "name_or_path": "runwayml/stable-diffusion-v1-5",
23
  "pad_token": "<|endoftext|>",
24
  "special_tokens_map_file": "./special_tokens_map.json",
25
  "tokenizer_class": "CLIPTokenizer",
unet/config.json CHANGED
@@ -29,7 +29,7 @@
29
  "num_class_embeds": null,
30
  "only_cross_attention": false,
31
  "out_channels": 4,
32
- "sample_size": 32,
33
  "up_block_types": [
34
  "UpBlock2D",
35
  "CrossAttnUpBlock2D",
 
29
  "num_class_embeds": null,
30
  "only_cross_attention": false,
31
  "out_channels": 4,
32
+ "sample_size": 64,
33
  "up_block_types": [
34
  "UpBlock2D",
35
  "CrossAttnUpBlock2D",