End of training
Browse files- .gitattributes +5 -0
- <new1>.bin +3 -0
- README.md +22 -0
- attn_maps_all/output_globalStep_0_step_0.png +3 -0
- attn_maps_all/output_globalStep_100_step_0.png +3 -0
- attn_maps_all/output_globalStep_150_step_0.png +3 -0
- attn_maps_all/output_globalStep_200_step_0.png +3 -0
- attn_maps_all/output_globalStep_50_step_0.png +3 -0
- attn_maps_atif/output_globalStep_0_step_0.png +0 -0
- attn_maps_atif/output_globalStep_100_step_0.png +0 -0
- attn_maps_atif/output_globalStep_150_step_0.png +0 -0
- attn_maps_atif/output_globalStep_200_step_0.png +0 -0
- attn_maps_atif/output_globalStep_50_step_0.png +0 -0
- attn_maps_xxd/output_globalStep_0_step_0.png +0 -0
- attn_maps_xxd/output_globalStep_100_step_0.png +0 -0
- attn_maps_xxd/output_globalStep_150_step_0.png +0 -0
- attn_maps_xxd/output_globalStep_200_step_0.png +0 -0
- attn_maps_xxd/output_globalStep_50_step_0.png +0 -0
- checkpoint-250/custom_checkpoint_0.pkl +3 -0
- checkpoint-250/model.safetensors +3 -0
- checkpoint-250/model_1.safetensors +3 -0
- checkpoint-250/optimizer.bin +3 -0
- checkpoint-250/random_states_0.pkl +3 -0
- checkpoint-250/scheduler.bin +3 -0
- concepts_list.json +1 -0
- logs/custom-diffusion/1712129798.4504023/events.out.tfevents.1712129798.cudahpc06.1254721.1 +3 -0
- logs/custom-diffusion/1712129798.4520571/hparams.yml +57 -0
- logs/custom-diffusion/events.out.tfevents.1712129798.cudahpc06.1254721.0 +3 -0
- pytorch_custom_diffusion_weights.bin +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
attn_maps_all/output_globalStep_0_step_0.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
attn_maps_all/output_globalStep_100_step_0.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
attn_maps_all/output_globalStep_150_step_0.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
attn_maps_all/output_globalStep_200_step_0.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
attn_maps_all/output_globalStep_50_step_0.png filter=lfs diff=lfs merge=lfs -text
|
<new1>.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b0911792a73a1c79204f78998963b9cffbd7e40e2ad8a480e668bf2c6e4500f
|
| 3 |
+
size 151785128
|
README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
license: creativeml-openrail-m
|
| 4 |
+
base_model: CompVis/stable-diffusion-v1-4
|
| 5 |
+
instance_prompt: photo of a <new1> dog
|
| 6 |
+
tags:
|
| 7 |
+
- stable-diffusion
|
| 8 |
+
- stable-diffusion-diffusers
|
| 9 |
+
- text-to-image
|
| 10 |
+
- diffusers
|
| 11 |
+
- custom-diffusion
|
| 12 |
+
inference: true
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Custom Diffusion - SidXXD/test4crossattentionmap-ll
|
| 16 |
+
|
| 17 |
+
These are Custom Diffusion adaption weights for CompVis/stable-diffusion-v1-4. The weights were trained on photo of a <new1> dog 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).
|
attn_maps_all/output_globalStep_0_step_0.png
ADDED
|
Git LFS Details
|
attn_maps_all/output_globalStep_100_step_0.png
ADDED
|
Git LFS Details
|
attn_maps_all/output_globalStep_150_step_0.png
ADDED
|
Git LFS Details
|
attn_maps_all/output_globalStep_200_step_0.png
ADDED
|
Git LFS Details
|
attn_maps_all/output_globalStep_50_step_0.png
ADDED
|
Git LFS Details
|
attn_maps_atif/output_globalStep_0_step_0.png
ADDED
|
attn_maps_atif/output_globalStep_100_step_0.png
ADDED
|
attn_maps_atif/output_globalStep_150_step_0.png
ADDED
|
attn_maps_atif/output_globalStep_200_step_0.png
ADDED
|
attn_maps_atif/output_globalStep_50_step_0.png
ADDED
|
attn_maps_xxd/output_globalStep_0_step_0.png
ADDED
|
attn_maps_xxd/output_globalStep_100_step_0.png
ADDED
|
attn_maps_xxd/output_globalStep_150_step_0.png
ADDED
|
attn_maps_xxd/output_globalStep_200_step_0.png
ADDED
|
attn_maps_xxd/output_globalStep_50_step_0.png
ADDED
|
checkpoint-250/custom_checkpoint_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8b54fd9a1b7ef5f3d1d03d1232afa9d008e1451a3142de35933034c98ea4028
|
| 3 |
+
size 76689565
|
checkpoint-250/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd397cf27cabc281e2de828e9880d60dd32824f1d7e5c38046338356910d255b
|
| 3 |
+
size 76682360
|
checkpoint-250/model_1.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fdd6ba7dddcfed94a2a7791f4f39bdb45f966d76b61efd5ffde8023e00a9bad
|
| 3 |
+
size 492268240
|
checkpoint-250/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6623111456aa9348fbab1b1f65d6e37c20d7c8ac66e7ca0068b0c6947ea2cdb
|
| 3 |
+
size 456950854
|
checkpoint-250/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c70c6f170aa9293e5ad1402631519ef6e46dc03aa655d5fed187f1dd75a0b24
|
| 3 |
+
size 14663
|
checkpoint-250/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c54c7dfa0981e4f3405702dde32f7c139b056257f5c201760ea6fbfb47a4b1d7
|
| 3 |
+
size 563
|
concepts_list.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"instance_prompt": "photo of a <new1> dog", "class_prompt": "dog", "instance_data_dir": "/home/xide/miniconda3/code/Attack/mist2-wk/data/single/attacked-target/4-parts-ll/pgd_eps_8", "class_data_dir": null}]
|
logs/custom-diffusion/1712129798.4504023/events.out.tfevents.1712129798.cudahpc06.1254721.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:409d992d3e98adc2be82a8985b0ccd30c65cff34611eaed30b65b6e9f192f3c9
|
| 3 |
+
size 2822
|
logs/custom-diffusion/1712129798.4520571/hparams.yml
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: 250
|
| 8 |
+
checkpoints_total_limit: null
|
| 9 |
+
class_data_dir: null
|
| 10 |
+
class_prompt: dog
|
| 11 |
+
concepts_list: null
|
| 12 |
+
dataloader_num_workers: 2
|
| 13 |
+
enable_xformers_memory_efficient_attention: false
|
| 14 |
+
freeze_model: crossattn_kv
|
| 15 |
+
gradient_accumulation_steps: 1
|
| 16 |
+
gradient_checkpointing: false
|
| 17 |
+
hflip: true
|
| 18 |
+
hub_model_id: null
|
| 19 |
+
hub_token: null
|
| 20 |
+
initializer_token: ktn+pll+ucd
|
| 21 |
+
instance_data_dir: /home/xide/miniconda3/code/Attack/mist2-wk/data/single/attacked-target/4-parts-ll/pgd_eps_8
|
| 22 |
+
instance_prompt: photo of a <new1> dog
|
| 23 |
+
learning_rate: 1.0e-05
|
| 24 |
+
local_rank: -1
|
| 25 |
+
logging_dir: logs
|
| 26 |
+
lr_scheduler: constant
|
| 27 |
+
lr_warmup_steps: 0
|
| 28 |
+
max_grad_norm: 1.0
|
| 29 |
+
max_train_steps: 250
|
| 30 |
+
mixed_precision: null
|
| 31 |
+
modifier_token: <new1>
|
| 32 |
+
no_safe_serialization: true
|
| 33 |
+
noaug: false
|
| 34 |
+
num_class_images: 200
|
| 35 |
+
num_train_epochs: 1
|
| 36 |
+
num_validation_images: 2
|
| 37 |
+
output_dir: /home/xide/miniconda3/code/diffusers/examples/custom_diffusion/model/test4crossattentionmap-ll
|
| 38 |
+
pretrained_model_name_or_path: CompVis/stable-diffusion-v1-4
|
| 39 |
+
prior_generation_precision: null
|
| 40 |
+
prior_loss_weight: 0.0
|
| 41 |
+
push_to_hub: true
|
| 42 |
+
real_prior: false
|
| 43 |
+
report_to: tensorboard
|
| 44 |
+
resolution: 512
|
| 45 |
+
resume_from_checkpoint: null
|
| 46 |
+
revision: null
|
| 47 |
+
sample_batch_size: 4
|
| 48 |
+
scale_lr: true
|
| 49 |
+
seed: 42
|
| 50 |
+
set_grads_to_none: false
|
| 51 |
+
tokenizer_name: null
|
| 52 |
+
train_batch_size: 2
|
| 53 |
+
use_8bit_adam: false
|
| 54 |
+
validation_prompt: null
|
| 55 |
+
validation_steps: 50
|
| 56 |
+
variant: null
|
| 57 |
+
with_prior_preservation: false
|
logs/custom-diffusion/events.out.tfevents.1712129798.cudahpc06.1254721.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24793a85e3c861fa914b01559eeecc4d31fcc260b6e417eeecbee992e894af6b
|
| 3 |
+
size 20834
|
pytorch_custom_diffusion_weights.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51d3f9d989d41db7244410150bab177ce3e31571fd3b77df78f15f9769b82725
|
| 3 |
+
size 76691351
|