End of training
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- <v1*>.bin +3 -0
- README.md +22 -0
- concepts_list.json +1 -0
- logs/custom-diffusion/1720010807.815678/events.out.tfevents.1720010807.cudahpc06.2604940.1 +3 -0
- logs/custom-diffusion/1720010807.8174493/hparams.yml +59 -0
- logs/custom-diffusion/events.out.tfevents.1720010807.cudahpc06.2604940.0 +3 -0
- perturbed_imgs-EA-global_step_250/250_noise_0.jpg +0 -0
- perturbed_imgs-EA-global_step_500/500_noise_0.jpg +0 -0
- perturbed_imgs-EA/0_noise_0.jpg +0 -0
- perturbed_imgs-EA/100_noise_0.jpg +0 -0
- perturbed_imgs-EA/102_noise_0.jpg +0 -0
- perturbed_imgs-EA/104_noise_0.jpg +0 -0
- perturbed_imgs-EA/106_noise_0.jpg +0 -0
- perturbed_imgs-EA/108_noise_0.jpg +0 -0
- perturbed_imgs-EA/10_noise_0.jpg +0 -0
- perturbed_imgs-EA/110_noise_0.jpg +0 -0
- perturbed_imgs-EA/112_noise_0.jpg +0 -0
- perturbed_imgs-EA/114_noise_0.jpg +0 -0
- perturbed_imgs-EA/116_noise_0.jpg +0 -0
- perturbed_imgs-EA/118_noise_0.jpg +0 -0
- perturbed_imgs-EA/120_noise_0.jpg +0 -0
- perturbed_imgs-EA/122_noise_0.jpg +0 -0
- perturbed_imgs-EA/124_noise_0.jpg +0 -0
- perturbed_imgs-EA/126_noise_0.jpg +0 -0
- perturbed_imgs-EA/128_noise_0.jpg +0 -0
- perturbed_imgs-EA/12_noise_0.jpg +0 -0
- perturbed_imgs-EA/130_noise_0.jpg +0 -0
- perturbed_imgs-EA/132_noise_0.jpg +0 -0
- perturbed_imgs-EA/134_noise_0.jpg +0 -0
- perturbed_imgs-EA/136_noise_0.jpg +0 -0
- perturbed_imgs-EA/138_noise_0.jpg +0 -0
- perturbed_imgs-EA/140_noise_0.jpg +0 -0
- perturbed_imgs-EA/142_noise_0.jpg +0 -0
- perturbed_imgs-EA/144_noise_0.jpg +0 -0
- perturbed_imgs-EA/146_noise_0.jpg +0 -0
- perturbed_imgs-EA/148_noise_0.jpg +0 -0
- perturbed_imgs-EA/14_noise_0.jpg +0 -0
- perturbed_imgs-EA/150_noise_0.jpg +0 -0
- perturbed_imgs-EA/152_noise_0.jpg +0 -0
- perturbed_imgs-EA/154_noise_0.jpg +0 -0
- perturbed_imgs-EA/156_noise_0.jpg +0 -0
- perturbed_imgs-EA/158_noise_0.jpg +0 -0
- perturbed_imgs-EA/160_noise_0.jpg +0 -0
- perturbed_imgs-EA/162_noise_0.jpg +0 -0
- perturbed_imgs-EA/164_noise_0.jpg +0 -0
- perturbed_imgs-EA/166_noise_0.jpg +0 -0
- perturbed_imgs-EA/168_noise_0.jpg +0 -0
- perturbed_imgs-EA/16_noise_0.jpg +0 -0
- perturbed_imgs-EA/170_noise_0.jpg +0 -0
- perturbed_imgs-EA/172_noise_0.jpg +0 -0
<v1*>.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63fa668443ac33242424372fae39923bf532f68ee17d11413a317d8dbd00a9dc
|
| 3 |
+
size 202379941
|
README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
license: creativeml-openrail-m
|
| 4 |
+
base_model: stabilityai/stable-diffusion-2-1-base
|
| 5 |
+
instance_prompt: photo of a <v1*> person
|
| 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/encoder_attack_4-eps-0628
|
| 16 |
+
|
| 17 |
+
These are Custom Diffusion adaption weights for stabilityai/stable-diffusion-2-1-base. The weights were trained on photo of a <v1*> person 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).
|
concepts_list.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"instance_prompt": "photo of a <v1*> person", "class_prompt": null, "instance_data_dir": "/home/xide/miniconda3/code/Attack/mist2-wk/data/single/clean/person", "class_data_dir": null}]
|
logs/custom-diffusion/1720010807.815678/events.out.tfevents.1720010807.cudahpc06.2604940.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:040d07bc874fe674e55c6e117a4de88793388a80d9796e0fed5e5154b2dcef6b
|
| 3 |
+
size 2897
|
logs/custom-diffusion/1720010807.8174493/hparams.yml
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
attn_maps_path_name: attn_maps_color
|
| 7 |
+
center_crop: false
|
| 8 |
+
checkpointing_steps: 250
|
| 9 |
+
checkpoints_total_limit: null
|
| 10 |
+
class_data_dir: null
|
| 11 |
+
class_prompt: null
|
| 12 |
+
concepts_list: null
|
| 13 |
+
dataloader_num_workers: 2
|
| 14 |
+
enable_xformers_memory_efficient_attention: false
|
| 15 |
+
eps_pgd: 0.0628
|
| 16 |
+
freeze_model: crossattn_kv
|
| 17 |
+
gradient_accumulation_steps: 1
|
| 18 |
+
gradient_checkpointing: false
|
| 19 |
+
hflip: true
|
| 20 |
+
hub_model_id: null
|
| 21 |
+
hub_token: null
|
| 22 |
+
initializer_token: ktn
|
| 23 |
+
instance_data_dir: /home/xide/miniconda3/code/Attack/mist2-wk/data/single/clean/person
|
| 24 |
+
instance_prompt: photo of a <v1*> person
|
| 25 |
+
learning_rate: 1.0e-05
|
| 26 |
+
local_rank: -1
|
| 27 |
+
logging_dir: logs
|
| 28 |
+
lr_scheduler: constant
|
| 29 |
+
lr_warmup_steps: 0
|
| 30 |
+
max_grad_norm: 1.0
|
| 31 |
+
max_train_steps: 250
|
| 32 |
+
mixed_precision: null
|
| 33 |
+
modifier_token: <v1*>
|
| 34 |
+
no_safe_serialization: true
|
| 35 |
+
noaug: false
|
| 36 |
+
num_class_images: 200
|
| 37 |
+
num_train_epochs: 1
|
| 38 |
+
num_validation_images: 2
|
| 39 |
+
output_dir: /home/xide/miniconda3/code/diffusers/examples/custom_diffusion/model/photoguard/perturbed_image/person/encoder_attack_4-eps-0628
|
| 40 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1-base
|
| 41 |
+
prior_generation_precision: null
|
| 42 |
+
prior_loss_weight: 0
|
| 43 |
+
push_to_hub: true
|
| 44 |
+
real_prior: false
|
| 45 |
+
report_to: tensorboard
|
| 46 |
+
resolution: 512
|
| 47 |
+
resume_from_checkpoint: null
|
| 48 |
+
revision: null
|
| 49 |
+
sample_batch_size: 4
|
| 50 |
+
scale_lr: true
|
| 51 |
+
seed: 42
|
| 52 |
+
set_grads_to_none: false
|
| 53 |
+
tokenizer_name: null
|
| 54 |
+
train_batch_size: 2
|
| 55 |
+
use_8bit_adam: false
|
| 56 |
+
validation_prompt: null
|
| 57 |
+
validation_steps: 50
|
| 58 |
+
variant: null
|
| 59 |
+
with_prior_preservation: false
|
logs/custom-diffusion/events.out.tfevents.1720010807.cudahpc06.2604940.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c54e841bf35b42fdd0a8b9b0042f3a5e964f8e5a200cd8f4c2443b72433ea6b
|
| 3 |
+
size 20962
|
perturbed_imgs-EA-global_step_250/250_noise_0.jpg
ADDED
|
perturbed_imgs-EA-global_step_500/500_noise_0.jpg
ADDED
|
perturbed_imgs-EA/0_noise_0.jpg
ADDED
|
perturbed_imgs-EA/100_noise_0.jpg
ADDED
|
perturbed_imgs-EA/102_noise_0.jpg
ADDED
|
perturbed_imgs-EA/104_noise_0.jpg
ADDED
|
perturbed_imgs-EA/106_noise_0.jpg
ADDED
|
perturbed_imgs-EA/108_noise_0.jpg
ADDED
|
perturbed_imgs-EA/10_noise_0.jpg
ADDED
|
perturbed_imgs-EA/110_noise_0.jpg
ADDED
|
perturbed_imgs-EA/112_noise_0.jpg
ADDED
|
perturbed_imgs-EA/114_noise_0.jpg
ADDED
|
perturbed_imgs-EA/116_noise_0.jpg
ADDED
|
perturbed_imgs-EA/118_noise_0.jpg
ADDED
|
perturbed_imgs-EA/120_noise_0.jpg
ADDED
|
perturbed_imgs-EA/122_noise_0.jpg
ADDED
|
perturbed_imgs-EA/124_noise_0.jpg
ADDED
|
perturbed_imgs-EA/126_noise_0.jpg
ADDED
|
perturbed_imgs-EA/128_noise_0.jpg
ADDED
|
perturbed_imgs-EA/12_noise_0.jpg
ADDED
|
perturbed_imgs-EA/130_noise_0.jpg
ADDED
|
perturbed_imgs-EA/132_noise_0.jpg
ADDED
|
perturbed_imgs-EA/134_noise_0.jpg
ADDED
|
perturbed_imgs-EA/136_noise_0.jpg
ADDED
|
perturbed_imgs-EA/138_noise_0.jpg
ADDED
|
perturbed_imgs-EA/140_noise_0.jpg
ADDED
|
perturbed_imgs-EA/142_noise_0.jpg
ADDED
|
perturbed_imgs-EA/144_noise_0.jpg
ADDED
|
perturbed_imgs-EA/146_noise_0.jpg
ADDED
|
perturbed_imgs-EA/148_noise_0.jpg
ADDED
|
perturbed_imgs-EA/14_noise_0.jpg
ADDED
|
perturbed_imgs-EA/150_noise_0.jpg
ADDED
|
perturbed_imgs-EA/152_noise_0.jpg
ADDED
|
perturbed_imgs-EA/154_noise_0.jpg
ADDED
|
perturbed_imgs-EA/156_noise_0.jpg
ADDED
|
perturbed_imgs-EA/158_noise_0.jpg
ADDED
|
perturbed_imgs-EA/160_noise_0.jpg
ADDED
|
perturbed_imgs-EA/162_noise_0.jpg
ADDED
|
perturbed_imgs-EA/164_noise_0.jpg
ADDED
|
perturbed_imgs-EA/166_noise_0.jpg
ADDED
|
perturbed_imgs-EA/168_noise_0.jpg
ADDED
|
perturbed_imgs-EA/16_noise_0.jpg
ADDED
|
perturbed_imgs-EA/170_noise_0.jpg
ADDED
|
perturbed_imgs-EA/172_noise_0.jpg
ADDED
|