karel-ml6 commited on
Commit
06b77fd
·
verified ·
1 Parent(s): afad651

End of training

Browse files
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: karel-ml6/pix2pix
3
+ library_name: diffusers
4
+ license: creativeml-openrail-m
5
+ inference: true
6
+ tags:
7
+ - stable-diffusion
8
+ - stable-diffusion-diffusers
9
+ - text-to-image
10
+ - instruct-pix2pix
11
+ - diffusers
12
+ - diffusers-training
13
+ - lora
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+
20
+ # LoRA text2image fine-tuning - karel-ml6/indu
21
+ These are LoRA adaption weights for karel-ml6/pix2pix. The weights were fine-tuned on the None dataset. You can find some example images in the following.
22
+
23
+
24
+
25
+
26
+ ## Intended uses & limitations
27
+
28
+ #### How to use
29
+
30
+ ```python
31
+ # TODO: add an example code snippet for running this diffusion pipeline
32
+ ```
33
+
34
+ #### Limitations and bias
35
+
36
+ [TODO: provide examples of latent issues and potential remediations]
37
+
38
+ ## Training details
39
+
40
+ [TODO: describe the data used to train the model]
checkpoint-10/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7b119b7c21f02685f8d5818f47c154520f0ece5fed47ca647cbe60b968ce7a0
3
+ size 6854266
checkpoint-10/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31433603c6197bd7991b9a4c3316ad0445458c5b73d929b149ef0fac5119cc63
3
+ size 3357296
checkpoint-10/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2246cf93d3f1a6881422216f5cb5eb803c2a8646dad5f895f78e66f71722e51
3
+ size 14408
checkpoint-10/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a56588985d12603997ef79eb4fc18e082ae05dda7137aab4f17aaf1f94d4a6a5
3
+ size 1000
checkpoint-10/unet/config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.32.2",
4
+ "_name_or_path": "karel-ml6/pix2pix",
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": [
10
+ 5,
11
+ 10,
12
+ 20,
13
+ 20
14
+ ],
15
+ "attention_type": "default",
16
+ "block_out_channels": [
17
+ 320,
18
+ 640,
19
+ 1280,
20
+ 1280
21
+ ],
22
+ "center_input_sample": false,
23
+ "class_embed_type": null,
24
+ "class_embeddings_concat": false,
25
+ "conv_in_kernel": 3,
26
+ "conv_out_kernel": 3,
27
+ "cross_attention_dim": 1024,
28
+ "cross_attention_norm": null,
29
+ "down_block_types": [
30
+ "CrossAttnDownBlock2D",
31
+ "CrossAttnDownBlock2D",
32
+ "CrossAttnDownBlock2D",
33
+ "DownBlock2D"
34
+ ],
35
+ "downsample_padding": 1,
36
+ "dropout": 0.0,
37
+ "dual_cross_attention": false,
38
+ "encoder_hid_dim": null,
39
+ "encoder_hid_dim_type": null,
40
+ "flip_sin_to_cos": true,
41
+ "freq_shift": 0,
42
+ "in_channels": 8,
43
+ "layers_per_block": 2,
44
+ "mid_block_only_cross_attention": null,
45
+ "mid_block_scale_factor": 1,
46
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
47
+ "norm_eps": 1e-05,
48
+ "norm_num_groups": 32,
49
+ "num_attention_heads": null,
50
+ "num_class_embeds": null,
51
+ "only_cross_attention": false,
52
+ "out_channels": 4,
53
+ "projection_class_embeddings_input_dim": null,
54
+ "resnet_out_scale_factor": 1.0,
55
+ "resnet_skip_time_act": false,
56
+ "resnet_time_scale_shift": "default",
57
+ "reverse_transformer_layers_per_block": null,
58
+ "sample_size": 96,
59
+ "time_cond_proj_dim": null,
60
+ "time_embedding_act_fn": null,
61
+ "time_embedding_dim": null,
62
+ "time_embedding_type": "positional",
63
+ "timestep_post_act": null,
64
+ "transformer_layers_per_block": 1,
65
+ "up_block_types": [
66
+ "UpBlock2D",
67
+ "CrossAttnUpBlock2D",
68
+ "CrossAttnUpBlock2D",
69
+ "CrossAttnUpBlock2D"
70
+ ],
71
+ "upcast_attention": false,
72
+ "use_linear_projection": true
73
+ }
checkpoint-10/unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8b17fb5f9592e6afd1ff289c3d036c0952d40dde694f788a9addd7f03a59a2c
3
+ size 3467133256
logs/instruct-pix2pix/1741687275.9256356/events.out.tfevents.1741687275.ip-172-16-78-39.eu-west-1.compute.internal.10625.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62337adbccc42ede9f67d45966dc220b32944f625781470e7c0fef51ca722a49
3
+ size 2523
logs/instruct-pix2pix/1741687275.9271808/hparams.yml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ cache_dir: null
7
+ center_crop: false
8
+ checkpointing_steps: 2
9
+ checkpoints_total_limit: 1
10
+ conditioning_dropout_prob: null
11
+ dataloader_num_workers: 0
12
+ dataset_config_name: null
13
+ dataset_name: null
14
+ edit_prompt_column: edit_prompt
15
+ edited_image_column: edited_image
16
+ enable_xformers_memory_efficient_attention: true
17
+ gradient_accumulation_steps: 4
18
+ gradient_checkpointing: true
19
+ hub_model_id: null
20
+ hub_token: null
21
+ learning_rate: 5.0e-05
22
+ local_rank: -1
23
+ logging_dir: logs
24
+ lr_scheduler: constant
25
+ lr_warmup_steps: 0
26
+ max_grad_norm: 1.0
27
+ max_train_samples: null
28
+ max_train_steps: 10
29
+ mixed_precision: null
30
+ non_ema_revision: null
31
+ num_train_epochs: 10
32
+ num_validation_images: 4
33
+ original_image_column: input_image
34
+ output_dir: instructPix2Pix-indu
35
+ pretrained_model_name_or_path: timbrooks/instruct-pix2pix
36
+ push_to_hub: false
37
+ random_flip: true
38
+ rank: 4
39
+ report_to: tensorboard
40
+ resolution: 256
41
+ resume_from_checkpoint: null
42
+ revision: null
43
+ scale_lr: false
44
+ seed: 42
45
+ train_batch_size: 2
46
+ train_data_dir: data_indu.hf
47
+ use_8bit_adam: false
48
+ use_ema: false
49
+ val_image_url: https://ml6-test-brent-lora.notebook.eu-west-1.sagemaker.aws/lab/tree/image.jpg
50
+ validation_epochs: 1
51
+ validation_prompt: Add industrial style furniture to the room
52
+ variant: null
logs/instruct-pix2pix/1741687380.9826095/events.out.tfevents.1741687380.ip-172-16-78-39.eu-west-1.compute.internal.11933.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7c77321493f0edc69feac7b762e1ddb25a32e9370251c52746004ee6010d48f
3
+ size 2314
logs/instruct-pix2pix/1741687380.98411/hparams.yml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ cache_dir: null
7
+ center_crop: false
8
+ checkpointing_steps: 2
9
+ checkpoints_total_limit: 1
10
+ conditioning_dropout_prob: null
11
+ dataloader_num_workers: 0
12
+ dataset_config_name: null
13
+ dataset_name: null
14
+ edit_prompt_column: edit_prompt
15
+ edited_image_column: edited_image
16
+ enable_xformers_memory_efficient_attention: true
17
+ gradient_accumulation_steps: 4
18
+ gradient_checkpointing: true
19
+ hub_model_id: null
20
+ hub_token: null
21
+ learning_rate: 5.0e-05
22
+ local_rank: -1
23
+ logging_dir: logs
24
+ lr_scheduler: constant
25
+ lr_warmup_steps: 0
26
+ max_grad_norm: 1.0
27
+ max_train_samples: null
28
+ max_train_steps: 10
29
+ mixed_precision: null
30
+ non_ema_revision: null
31
+ num_train_epochs: 10
32
+ num_validation_images: 4
33
+ original_image_column: input_image
34
+ output_dir: instructPix2Pix-indu
35
+ pretrained_model_name_or_path: timbrooks/instruct-pix2pix
36
+ push_to_hub: false
37
+ random_flip: true
38
+ rank: 4
39
+ report_to: tensorboard
40
+ resolution: 256
41
+ resume_from_checkpoint: null
42
+ revision: null
43
+ scale_lr: false
44
+ seed: 42
45
+ train_batch_size: 2
46
+ train_data_dir: data_indu.hf
47
+ use_8bit_adam: false
48
+ use_ema: false
49
+ val_image_url: null
50
+ validation_epochs: 1
51
+ validation_prompt: null
52
+ variant: null
logs/instruct-pix2pix/events.out.tfevents.1741687275.ip-172-16-78-39.eu-west-1.compute.internal.10625.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ae8f6ced821d146d72467674299ddd50e8131354d5cc1335d088f207c0c9ea7
3
+ size 136
logs/instruct-pix2pix/events.out.tfevents.1741687380.ip-172-16-78-39.eu-west-1.compute.internal.11933.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:779f8c843d5230506bbb06efa4d3cfe9821b3c54ff0baf730fac10ff5e2845f5
3
+ size 184
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31433603c6197bd7991b9a4c3316ad0445458c5b73d929b149ef0fac5119cc63
3
+ size 3357296