briannlongzhao
commited on
Commit
•
3fc61c1
1
Parent(s):
8f3db14
End of training
Browse files- README.md +3 -8
- learned_embeds.safetensors +1 -1
- logs/textual_inversion/1706461864.0757918/events.out.tfevents.1706461864.node-0.2674.1 +3 -0
- logs/textual_inversion/1706461864.9850776/hparams.yml +50 -0
- logs/textual_inversion/1706473896.8036978/events.out.tfevents.1706473898.node-0.2775.1 +3 -0
- logs/textual_inversion/1706473900.7458062/hparams.yml +50 -0
- logs/textual_inversion/events.out.tfevents.1706461863.node-0.2674.0 +3 -0
- logs/textual_inversion/events.out.tfevents.1706473895.node-0.2775.0 +3 -0
- text_encoder/config.json +2 -2
- text_encoder/model.safetensors +2 -2
- unet/diffusion_pytorch_model.safetensors +2 -2
- vae/config.json +1 -1
- vae/diffusion_pytorch_model.safetensors +2 -2
README.md
CHANGED
@@ -2,21 +2,16 @@
|
|
2 |
---
|
3 |
license: creativeml-openrail-m
|
4 |
base_model: stabilityai/stable-diffusion-2-1
|
5 |
-
instance_prompt: a photo of <new1> cabbage
|
6 |
tags:
|
7 |
- stable-diffusion
|
8 |
- stable-diffusion-diffusers
|
9 |
- text-to-image
|
10 |
- diffusers
|
11 |
-
-
|
12 |
inference: true
|
13 |
---
|
14 |
|
15 |
-
#
|
|
|
16 |
|
17 |
-
These are Custom Diffusion adaption weights for stabilityai/stable-diffusion-2-1. The weights were trained on a photo of <new1> cabbage using [Custom Diffusion](https://www.cs.cmu.edu/~custom-diffusion). You can find some example images in the following.
|
18 |
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
For more details on the training, please follow [this link](https://github.com/huggingface/diffusers/blob/main/examples/custom_diffusion).
|
|
|
2 |
---
|
3 |
license: creativeml-openrail-m
|
4 |
base_model: stabilityai/stable-diffusion-2-1
|
|
|
5 |
tags:
|
6 |
- stable-diffusion
|
7 |
- stable-diffusion-diffusers
|
8 |
- text-to-image
|
9 |
- diffusers
|
10 |
+
- textual_inversion
|
11 |
inference: true
|
12 |
---
|
13 |
|
14 |
+
# Textual inversion text2image fine-tuning - briannlongzhao/93
|
15 |
+
These are textual inversion adaption weights for stabilityai/stable-diffusion-2-1. You can find some example images in the following.
|
16 |
|
|
|
17 |
|
|
|
|
|
|
|
|
learned_embeds.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4208
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24bbf9c9bc453b2c6308aa0534eaf763531cfe94c768dcc4e8d43508613363be
|
3 |
size 4208
|
logs/textual_inversion/1706461864.0757918/events.out.tfevents.1706461864.node-0.2674.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1865f1419d7d3c556c8bb79f66ba419a21a1b72151cd1b40166270e425b7f999
|
3 |
+
size 2502
|
logs/textual_inversion/1706461864.9850776/hparams.yml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
adam_beta1: 0.9
|
2 |
+
adam_beta2: 0.999
|
3 |
+
adam_epsilon: 1.0e-08
|
4 |
+
adam_weight_decay: 0.01
|
5 |
+
allow_tf32: false
|
6 |
+
center_crop: false
|
7 |
+
checkpointing_steps: 500
|
8 |
+
checkpoints_total_limit: null
|
9 |
+
class_name: cabbage
|
10 |
+
dataloader_num_workers: 0
|
11 |
+
enable_xformers_memory_efficient_attention: true
|
12 |
+
gradient_accumulation_steps: 4
|
13 |
+
gradient_checkpointing: false
|
14 |
+
hub_model_id: null
|
15 |
+
hub_token: null
|
16 |
+
idx: 93
|
17 |
+
initializer_token: cabbage
|
18 |
+
learnable_property: object
|
19 |
+
learning_rate: 0.008
|
20 |
+
local_rank: -1
|
21 |
+
logging_dir: logs
|
22 |
+
lr_num_cycles: 1
|
23 |
+
lr_scheduler: constant
|
24 |
+
lr_warmup_steps: 0
|
25 |
+
max_train_steps: 35
|
26 |
+
mixed_precision: fp16
|
27 |
+
no_safe_serialization: false
|
28 |
+
num_train_epochs: 5
|
29 |
+
num_validation_images: 4
|
30 |
+
num_vectors: 1
|
31 |
+
output_dir: /mnt/default/textual_inversion_models_medium/93
|
32 |
+
placeholder_token: <cabbage>
|
33 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
|
34 |
+
push_to_hub: true
|
35 |
+
repeats: 1
|
36 |
+
report_to: tensorboard
|
37 |
+
resolution: 512
|
38 |
+
resume_from_checkpoint: null
|
39 |
+
revision: null
|
40 |
+
save_as_full_pipeline: false
|
41 |
+
save_steps: 500
|
42 |
+
scale_lr: true
|
43 |
+
seed: null
|
44 |
+
tokenizer_name: null
|
45 |
+
train_batch_size: 4
|
46 |
+
train_data_dir: /mnt/default/imagenet/images/train_medium/n07714571
|
47 |
+
validation_epochs: null
|
48 |
+
validation_prompt: null
|
49 |
+
validation_steps: 100
|
50 |
+
wnid: n07714571
|
logs/textual_inversion/1706473896.8036978/events.out.tfevents.1706473898.node-0.2775.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:121f93017dd929c20ad52d877aae92b175ad813a9d4c26e4b7f72d07368cdc95
|
3 |
+
size 2502
|
logs/textual_inversion/1706473900.7458062/hparams.yml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
adam_beta1: 0.9
|
2 |
+
adam_beta2: 0.999
|
3 |
+
adam_epsilon: 1.0e-08
|
4 |
+
adam_weight_decay: 0.01
|
5 |
+
allow_tf32: false
|
6 |
+
center_crop: false
|
7 |
+
checkpointing_steps: 500
|
8 |
+
checkpoints_total_limit: null
|
9 |
+
class_name: cabbage
|
10 |
+
dataloader_num_workers: 0
|
11 |
+
enable_xformers_memory_efficient_attention: true
|
12 |
+
gradient_accumulation_steps: 4
|
13 |
+
gradient_checkpointing: false
|
14 |
+
hub_model_id: null
|
15 |
+
hub_token: null
|
16 |
+
idx: 93
|
17 |
+
initializer_token: cabbage
|
18 |
+
learnable_property: object
|
19 |
+
learning_rate: 0.008
|
20 |
+
local_rank: -1
|
21 |
+
logging_dir: logs
|
22 |
+
lr_num_cycles: 1
|
23 |
+
lr_scheduler: constant
|
24 |
+
lr_warmup_steps: 0
|
25 |
+
max_train_steps: 35
|
26 |
+
mixed_precision: fp16
|
27 |
+
no_safe_serialization: false
|
28 |
+
num_train_epochs: 5
|
29 |
+
num_validation_images: 4
|
30 |
+
num_vectors: 1
|
31 |
+
output_dir: /mnt/default/textual_inversion_models_medium/93
|
32 |
+
placeholder_token: <cabbage>
|
33 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
|
34 |
+
push_to_hub: true
|
35 |
+
repeats: 1
|
36 |
+
report_to: tensorboard
|
37 |
+
resolution: 512
|
38 |
+
resume_from_checkpoint: null
|
39 |
+
revision: null
|
40 |
+
save_as_full_pipeline: false
|
41 |
+
save_steps: 500
|
42 |
+
scale_lr: true
|
43 |
+
seed: null
|
44 |
+
tokenizer_name: null
|
45 |
+
train_batch_size: 4
|
46 |
+
train_data_dir: /mnt/default/imagenet/images/train_medium/n07714571
|
47 |
+
validation_epochs: null
|
48 |
+
validation_prompt: null
|
49 |
+
validation_steps: 100
|
50 |
+
wnid: n07714571
|
logs/textual_inversion/events.out.tfevents.1706461863.node-0.2674.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d97d5891a33366e9e97f0806108d182b7e35ae9b60d80c2cf70a7d08f1fc887
|
3 |
+
size 3684
|
logs/textual_inversion/events.out.tfevents.1706473895.node-0.2775.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7a2a880628329a08bd7aec817a8b28c341ddd9e4a6ae6d2a44ce5c197fd9b53
|
3 |
+
size 10326
|
text_encoder/config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
"num_hidden_layers": 23,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 512,
|
22 |
-
"torch_dtype": "
|
23 |
"transformers_version": "4.28.1",
|
24 |
-
"vocab_size":
|
25 |
}
|
|
|
19 |
"num_hidden_layers": 23,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 512,
|
22 |
+
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.28.1",
|
24 |
+
"vocab_size": 49409
|
25 |
}
|
text_encoder/model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab1ef4b1f7cf15d5c3ab68d036a24ddd6a49d4a3d4bbf7219a1f1696c28c9a0a
|
3 |
+
size 1361601112
|
unet/diffusion_pytorch_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a3a4d7978884c5e4ef00b62641b1b544b257be2f6715d984188610ad6475ad2
|
3 |
+
size 1731904736
|
vae/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.25.1",
|
4 |
-
"_name_or_path": "/
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.25.1",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
vae/diffusion_pytorch_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e4c08995484ee61270175e9e7a072b66a6e4eeb5f0c266667fe1f45b90daf9a
|
3 |
+
size 167335342
|