erfan-yahoo commited on
Commit
031798c
1 Parent(s): 0d98195

Upload 16 files

Browse files
.gitattributes CHANGED
@@ -2,3 +2,7 @@ controlnet/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
2
  text_encoder/pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
3
  unet/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
4
  vae/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
2
  text_encoder/pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
3
  unet/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
4
  vae/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
5
+ controlnet/diffusion_pytorch_model.safetensors filter=lfs diff=lfs merge=lfs -text
6
+ text_encoder/model.safetensors filter=lfs diff=lfs merge=lfs -text
7
+ unet/diffusion_pytorch_model.safetensors filter=lfs diff=lfs merge=lfs -text
8
+ vae/diffusion_pytorch_model.safetensors filter=lfs diff=lfs merge=lfs -text
controlnet/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "ControlNetModel",
3
  "_diffusers_version": "0.20.0.dev0",
4
- "_name_or_path": "yahoo-inc/photo-background-generation",
5
  "act_fn": "silu",
6
  "addition_embed_type": null,
7
  "addition_embed_type_num_heads": 64,
 
1
  {
2
  "_class_name": "ControlNetModel",
3
  "_diffusers_version": "0.20.0.dev0",
4
+ "_name_or_path": "/home/erfan/.cache/huggingface/hub/models--yahoo-inc--photo-background-generation/snapshots/0d98195f741dad39e5004cdcdc5aff541a48a919/controlnet",
5
  "act_fn": "silu",
6
  "addition_embed_type": null,
7
  "addition_embed_type_num_heads": 64,
controlnet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53e331297a0ba85067f7b23d2f98a7be79886f5e4fcb20c00cd9662fdf596084
3
+ size 1457011160
model_index.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "StableDiffusionControlNetInpaintPipeline",
3
  "_diffusers_version": "0.20.0.dev0",
4
- "_name_or_path": "stabilityai/stable-diffusion-2-inpainting",
5
  "controlnet": [
6
  "diffusers",
7
  "ControlNetModel"
 
1
  {
2
  "_class_name": "StableDiffusionControlNetInpaintPipeline",
3
  "_diffusers_version": "0.20.0.dev0",
4
+ "_name_or_path": "yahoo-inc/photo-background-generation",
5
  "controlnet": [
6
  "diffusers",
7
  "ControlNetModel"
text_encoder/config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "stabilityai/stable-diffusion-2-inpainting",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
 
1
  {
2
+ "_name_or_path": "/home/erfan/.cache/huggingface/hub/models--yahoo-inc--photo-background-generation/snapshots/0d98195f741dad39e5004cdcdc5aff541a48a919/text_encoder",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67e013543d4fac905c882e2993d86a2d454ee69dc9e8f37c0c23d33a48959d15
3
+ size 1361596304
tokenizer/special_tokens_map.json CHANGED
@@ -1,4 +1,9 @@
1
  {
 
 
 
 
 
2
  "bos_token": "<|startoftext|>",
3
  "eos_token": "<|endoftext|>",
4
  "pad_token": "!",
 
1
  {
2
+ "additional_special_tokens": [
3
+ "!",
4
+ "<|startoftext|>",
5
+ "<|endoftext|>"
6
+ ],
7
  "bos_token": "<|startoftext|>",
8
  "eos_token": "<|endoftext|>",
9
  "pad_token": "!",
tokenizer/tokenizer_config.json CHANGED
@@ -12,7 +12,7 @@
12
  "49406": {
13
  "content": "<|startoftext|>",
14
  "lstrip": false,
15
- "normalized": true,
16
  "rstrip": false,
17
  "single_word": false,
18
  "special": true
@@ -20,13 +20,17 @@
20
  "49407": {
21
  "content": "<|endoftext|>",
22
  "lstrip": false,
23
- "normalized": true,
24
  "rstrip": false,
25
  "single_word": false,
26
  "special": true
27
  }
28
  },
29
- "additional_special_tokens": [],
 
 
 
 
30
  "bos_token": "<|startoftext|>",
31
  "clean_up_tokenization_spaces": true,
32
  "do_lower_case": true,
 
12
  "49406": {
13
  "content": "<|startoftext|>",
14
  "lstrip": false,
15
+ "normalized": false,
16
  "rstrip": false,
17
  "single_word": false,
18
  "special": true
 
20
  "49407": {
21
  "content": "<|endoftext|>",
22
  "lstrip": false,
23
+ "normalized": false,
24
  "rstrip": false,
25
  "single_word": false,
26
  "special": true
27
  }
28
  },
29
+ "additional_special_tokens": [
30
+ "!",
31
+ "<|startoftext|>",
32
+ "<|endoftext|>"
33
+ ],
34
  "bos_token": "<|startoftext|>",
35
  "clean_up_tokenization_spaces": true,
36
  "do_lower_case": true,
unet/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.20.0.dev0",
4
- "_name_or_path": "stabilityai/stable-diffusion-2-inpainting",
5
  "act_fn": "silu",
6
  "addition_embed_type": null,
7
  "addition_embed_type_num_heads": 64,
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.20.0.dev0",
4
+ "_name_or_path": "/home/erfan/.cache/huggingface/hub/models--yahoo-inc--photo-background-generation/snapshots/0d98195f741dad39e5004cdcdc5aff541a48a919/unet",
5
  "act_fn": "silu",
6
  "addition_embed_type": null,
7
  "addition_embed_type_num_heads": 64,
unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2f90a6d2f3f65959aa6c67e4e7728e32108d08c8a55603b0ea6d762cf224420
3
+ size 3463784120
vae/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.20.0.dev0",
4
- "_name_or_path": "stabilityai/stable-diffusion-2-inpainting",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.20.0.dev0",
4
+ "_name_or_path": "/home/erfan/.cache/huggingface/hub/models--yahoo-inc--photo-background-generation/snapshots/0d98195f741dad39e5004cdcdc5aff541a48a919/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2aa1f43011b553a4cba7f37456465cdbd48aab7b54b9348b890e8058ea7683ec
3
+ size 334643268