End of training
Browse files- 250/250_noise_cat_1.jpg +0 -0
- 500/500_noise_cat_1.jpg +0 -0
- <v1*>.bin +3 -0
- README.md +22 -0
- concepts_list.json +1 -0
- logs/custom-diffusion/1719997851.1393578/events.out.tfevents.1719997851.cudahpc06.2087294.1 +3 -0
- logs/custom-diffusion/1719997851.141217/hparams.yml +59 -0
- logs/custom-diffusion/events.out.tfevents.1719997851.cudahpc06.2087294.0 +3 -0
- perturbed_imgs-EA/epoch_0.png +0 -0
- perturbed_imgs-EA/epoch_100.png +0 -0
- perturbed_imgs-EA/epoch_150.png +0 -0
- perturbed_imgs-EA/epoch_200.png +0 -0
- perturbed_imgs-EA/epoch_249.png +0 -0
- perturbed_imgs-EA/epoch_50.png +0 -0
- pytorch_custom_diffusion_weights.bin +3 -0
250/250_noise_cat_1.jpg
ADDED
|
500/500_noise_cat_1.jpg
ADDED
|
<v1*>.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf7719a5a21d09bcc15b502f21e50b2de17159a8183e6dee509d78a9d7d11239
|
| 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*> cat
|
| 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_3-eps-0039
|
| 16 |
+
|
| 17 |
+
These are Custom Diffusion adaption weights for stabilityai/stable-diffusion-2-1-base. The weights were trained on photo of a <v1*> cat 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*> cat", "class_prompt": null, "instance_data_dir": "/home/xide/miniconda3/code/Attack/mist2-wk/data/single/clean/cat", "class_data_dir": null}]
|
logs/custom-diffusion/1719997851.1393578/events.out.tfevents.1719997851.cudahpc06.2087294.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe1c118faf333360629a580facea51a08f0e1e08532759be48f46f8bbca5001d
|
| 3 |
+
size 2865
|
logs/custom-diffusion/1719997851.141217/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.0039
|
| 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/cat
|
| 24 |
+
instance_prompt: photo of a <v1*> cat
|
| 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/encoder_attack_3-eps-0039
|
| 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.1719997851.cudahpc06.2087294.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ec6ea552ce52d56870c2797285d75f44bf5c7bc374d4f9eb7245c3ba7e4456c
|
| 3 |
+
size 20962
|
perturbed_imgs-EA/epoch_0.png
ADDED
|
perturbed_imgs-EA/epoch_100.png
ADDED
|
perturbed_imgs-EA/epoch_150.png
ADDED
|
perturbed_imgs-EA/epoch_200.png
ADDED
|
perturbed_imgs-EA/epoch_249.png
ADDED
|
perturbed_imgs-EA/epoch_50.png
ADDED
|
pytorch_custom_diffusion_weights.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce0e30c25f52e8445a94c3d6c8516699d9e44b0015054f0e0eb77ff3080cc438
|
| 3 |
+
size 102250391
|