essiam commited on
Commit
7745962
·
verified ·
1 Parent(s): 036b715

End of training

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +42 -0
  2. checkpoint-500/optimizer.bin +3 -0
  3. checkpoint-500/random_states_0.pkl +3 -0
  4. checkpoint-500/scheduler.bin +3 -0
  5. checkpoint-500/unet/config.json +68 -0
  6. checkpoint-500/unet/diffusion_pytorch_model.safetensors +3 -0
  7. feature_extractor/preprocessor_config.json +27 -0
  8. highpois.ipynb +0 -0
  9. logs/dreambooth/1709437666.9925866/events.out.tfevents.1709437666.5f9209b955f8.2522.1 +3 -0
  10. logs/dreambooth/1709437667.0009422/hparams.yml +60 -0
  11. logs/dreambooth/events.out.tfevents.1709437666.5f9209b955f8.2522.0 +3 -0
  12. model_index.json +38 -0
  13. poisoned_high/0-nightshade-intensity-HIGH-V1.png +0 -0
  14. poisoned_high/1-nightshade-intensity-HIGH-V1.png +0 -0
  15. poisoned_high/10-nightshade-intensity-HIGH-V1.png +0 -0
  16. poisoned_high/11-nightshade-intensity-HIGH-V1.png +0 -0
  17. poisoned_high/12-nightshade-intensity-HIGH-V1.png +0 -0
  18. poisoned_high/13-nightshade-intensity-HIGH-V1.png +0 -0
  19. poisoned_high/14-nightshade-intensity-HIGH-V1.png +0 -0
  20. poisoned_high/15-nightshade-intensity-HIGH-V1.png +0 -0
  21. poisoned_high/16-nightshade-intensity-HIGH-V1.png +0 -0
  22. poisoned_high/17-nightshade-intensity-HIGH-V1.png +0 -0
  23. poisoned_high/18-nightshade-intensity-HIGH-V1.png +0 -0
  24. poisoned_high/19-nightshade-intensity-HIGH-V1.png +0 -0
  25. poisoned_high/2-nightshade-intensity-HIGH-V1.png +0 -0
  26. poisoned_high/20-nightshade-intensity-HIGH-V1.png +0 -0
  27. poisoned_high/21-nightshade-intensity-HIGH-V1.png +0 -0
  28. poisoned_high/22-nightshade-intensity-HIGH-V1.png +0 -0
  29. poisoned_high/23-nightshade-intensity-HIGH-V1.png +0 -0
  30. poisoned_high/24-nightshade-intensity-HIGH-V1.png +0 -0
  31. poisoned_high/25-nightshade-intensity-HIGH-V1.png +0 -0
  32. poisoned_high/26-nightshade-intensity-HIGH-V1.png +0 -0
  33. poisoned_high/27-nightshade-intensity-HIGH-V1.png +0 -0
  34. poisoned_high/28-nightshade-intensity-HIGH-V1.png +0 -0
  35. poisoned_high/29-nightshade-intensity-HIGH-V1.png +0 -0
  36. poisoned_high/3-nightshade-intensity-HIGH-V1.png +0 -0
  37. poisoned_high/30-nightshade-intensity-HIGH-V1.png +0 -0
  38. poisoned_high/31-nightshade-intensity-HIGH-V1.png +0 -0
  39. poisoned_high/32-nightshade-intensity-HIGH-V1.png +0 -0
  40. poisoned_high/33-nightshade-intensity-HIGH-V1.png +0 -0
  41. poisoned_high/34-nightshade-intensity-HIGH-V1.png +0 -0
  42. poisoned_high/35-nightshade-intensity-HIGH-V1.png +0 -0
  43. poisoned_high/36-nightshade-intensity-HIGH-V1.png +0 -0
  44. poisoned_high/37-nightshade-intensity-HIGH-V1.png +0 -0
  45. poisoned_high/38-nightshade-intensity-HIGH-V1.png +0 -0
  46. poisoned_high/39-nightshade-intensity-HIGH-V1.png +0 -0
  47. poisoned_high/4-nightshade-intensity-HIGH-V1.png +0 -0
  48. poisoned_high/40-nightshade-intensity-HIGH-V1.png +0 -0
  49. poisoned_high/41-nightshade-intensity-HIGH-V1.png +0 -0
  50. poisoned_high/42-nightshade-intensity-HIGH-V1.png +0 -0
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ library_name: diffusers
4
+ tags:
5
+ - text-to-image
6
+ - dreambooth
7
+ - stable-diffusion
8
+ - stable-diffusion-diffusers
9
+ inference: true
10
+ base_model: CompVis/stable-diffusion-v1-4
11
+ instance_prompt: a photo of 53e676787 butterfly
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+
18
+ # DreamBooth - essiam/high_poison
19
+
20
+ This is a dreambooth model derived from CompVis/stable-diffusion-v1-4. The weights were trained on a photo of 53e676787 butterfly using [DreamBooth](https://dreambooth.github.io/).
21
+ You can find some example images in the following.
22
+
23
+
24
+
25
+ DreamBooth for the text encoder was enabled: False.
26
+
27
+
28
+ ## Intended uses & limitations
29
+
30
+ #### How to use
31
+
32
+ ```python
33
+ # TODO: add an example code snippet for running this diffusion pipeline
34
+ ```
35
+
36
+ #### Limitations and bias
37
+
38
+ [TODO: provide examples of latent issues and potential remediations]
39
+
40
+ ## Training details
41
+
42
+ [TODO: describe the data used to train the model]
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5568d43a7080651f64330ff7509abb95a7cd48e21fd62c45a75da2df959f0930
3
+ size 1725110394
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df712a58bb130293dff7b60f888fe976ea47c599c097b9cea1a0a78fd602c87b
3
+ size 14344
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65115106fbd9463fa6c7133b543dece71c31fcba363ff15b8c73f8c7eb0739c5
3
+ size 1000
checkpoint-500/unet/config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.27.0.dev0",
4
+ "_name_or_path": "CompVis/stable-diffusion-v1-4",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": null,
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": null,
9
+ "attention_head_dim": 8,
10
+ "attention_type": "default",
11
+ "block_out_channels": [
12
+ 320,
13
+ 640,
14
+ 1280,
15
+ 1280
16
+ ],
17
+ "center_input_sample": false,
18
+ "class_embed_type": null,
19
+ "class_embeddings_concat": false,
20
+ "conv_in_kernel": 3,
21
+ "conv_out_kernel": 3,
22
+ "cross_attention_dim": 768,
23
+ "cross_attention_norm": null,
24
+ "down_block_types": [
25
+ "CrossAttnDownBlock2D",
26
+ "CrossAttnDownBlock2D",
27
+ "CrossAttnDownBlock2D",
28
+ "DownBlock2D"
29
+ ],
30
+ "downsample_padding": 1,
31
+ "dropout": 0.0,
32
+ "dual_cross_attention": false,
33
+ "encoder_hid_dim": null,
34
+ "encoder_hid_dim_type": null,
35
+ "flip_sin_to_cos": true,
36
+ "freq_shift": 0,
37
+ "in_channels": 4,
38
+ "layers_per_block": 2,
39
+ "mid_block_only_cross_attention": null,
40
+ "mid_block_scale_factor": 1,
41
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
42
+ "norm_eps": 1e-05,
43
+ "norm_num_groups": 32,
44
+ "num_attention_heads": null,
45
+ "num_class_embeds": null,
46
+ "only_cross_attention": false,
47
+ "out_channels": 4,
48
+ "projection_class_embeddings_input_dim": null,
49
+ "resnet_out_scale_factor": 1.0,
50
+ "resnet_skip_time_act": false,
51
+ "resnet_time_scale_shift": "default",
52
+ "reverse_transformer_layers_per_block": null,
53
+ "sample_size": 64,
54
+ "time_cond_proj_dim": null,
55
+ "time_embedding_act_fn": null,
56
+ "time_embedding_dim": null,
57
+ "time_embedding_type": "positional",
58
+ "timestep_post_act": null,
59
+ "transformer_layers_per_block": 1,
60
+ "up_block_types": [
61
+ "UpBlock2D",
62
+ "CrossAttnUpBlock2D",
63
+ "CrossAttnUpBlock2D",
64
+ "CrossAttnUpBlock2D"
65
+ ],
66
+ "upcast_attention": false,
67
+ "use_linear_projection": false
68
+ }
checkpoint-500/unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1297dc6ede49309226f237de5cae0a07f98f1bf85a474c36a05c783d1b7b201a
3
+ size 3438167536
feature_extractor/preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "CLIPImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 224
26
+ }
27
+ }
highpois.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
logs/dreambooth/1709437666.9925866/events.out.tfevents.1709437666.5f9209b955f8.2522.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08c216481863ea5c91e54ab7d77813077f887fff35a957050b7d40ebc24e7240
3
+ size 2825
logs/dreambooth/1709437667.0009422/hparams.yml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_data_dir: null
10
+ class_labels_conditioning: null
11
+ class_prompt: null
12
+ dataloader_num_workers: 0
13
+ enable_xformers_memory_efficient_attention: false
14
+ gradient_accumulation_steps: 2
15
+ gradient_checkpointing: true
16
+ hub_model_id: null
17
+ hub_token: null
18
+ instance_data_dir: /content/drive/MyDrive/high_poison/poisoned_high
19
+ instance_prompt: a photo of 53e676787 butterfly
20
+ learning_rate: 5.0e-06
21
+ local_rank: -1
22
+ logging_dir: logs
23
+ lr_num_cycles: 1
24
+ lr_power: 1.0
25
+ lr_scheduler: constant
26
+ lr_warmup_steps: 0
27
+ max_grad_norm: 1.0
28
+ max_train_steps: 800
29
+ mixed_precision: null
30
+ num_class_images: 100
31
+ num_train_epochs: 32
32
+ num_validation_images: 4
33
+ offset_noise: false
34
+ output_dir: /content/drive/MyDrive/high_poison
35
+ pre_compute_text_embeddings: false
36
+ pretrained_model_name_or_path: CompVis/stable-diffusion-v1-4
37
+ prior_generation_precision: null
38
+ prior_loss_weight: 1.0
39
+ push_to_hub: true
40
+ report_to: tensorboard
41
+ resolution: 512
42
+ resume_from_checkpoint: null
43
+ revision: null
44
+ sample_batch_size: 4
45
+ scale_lr: false
46
+ seed: null
47
+ set_grads_to_none: false
48
+ skip_save_text_encoder: false
49
+ snr_gamma: null
50
+ text_encoder_use_attention_mask: false
51
+ tokenizer_max_length: null
52
+ tokenizer_name: null
53
+ train_batch_size: 1
54
+ train_text_encoder: false
55
+ use_8bit_adam: true
56
+ validation_prompt: null
57
+ validation_scheduler: DPMSolverMultistepScheduler
58
+ validation_steps: 100
59
+ variant: null
60
+ with_prior_preservation: false
logs/dreambooth/events.out.tfevents.1709437666.5f9209b955f8.2522.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3629c7c3d7a222b526ec36c6b3bcea692f65acf6b440ad89708c513209c59450
3
+ size 133974
model_index.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.27.0.dev0",
4
+ "_name_or_path": "CompVis/stable-diffusion-v1-4",
5
+ "feature_extractor": [
6
+ "transformers",
7
+ "CLIPImageProcessor"
8
+ ],
9
+ "image_encoder": [
10
+ null,
11
+ null
12
+ ],
13
+ "requires_safety_checker": true,
14
+ "safety_checker": [
15
+ "stable_diffusion",
16
+ "StableDiffusionSafetyChecker"
17
+ ],
18
+ "scheduler": [
19
+ "diffusers",
20
+ "PNDMScheduler"
21
+ ],
22
+ "text_encoder": [
23
+ "transformers",
24
+ "CLIPTextModel"
25
+ ],
26
+ "tokenizer": [
27
+ "transformers",
28
+ "CLIPTokenizer"
29
+ ],
30
+ "unet": [
31
+ "diffusers",
32
+ "UNet2DConditionModel"
33
+ ],
34
+ "vae": [
35
+ "diffusers",
36
+ "AutoencoderKL"
37
+ ]
38
+ }
poisoned_high/0-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/1-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/10-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/11-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/12-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/13-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/14-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/15-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/16-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/17-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/18-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/19-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/2-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/20-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/21-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/22-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/23-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/24-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/25-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/26-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/27-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/28-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/29-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/3-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/30-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/31-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/32-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/33-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/34-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/35-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/36-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/37-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/38-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/39-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/4-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/40-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/41-nightshade-intensity-HIGH-V1.png ADDED
poisoned_high/42-nightshade-intensity-HIGH-V1.png ADDED