Bjarne12 commited on
Commit
60876b8
·
1 Parent(s): be35370

inintal commit

Browse files
.ipynb_checkpoints/git_setup-checkpoint.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ # Run these commands as root or in an environment without the need for sudo.
5
+
6
+ # Update and install git-lfs
7
+ apt update
8
+ apt install -y git-lfs
9
+
10
+ # Configure git-lfs
11
+ git lfs install
12
+
13
+ # Install huggingface_hub
14
+ python3 -m pip install --upgrade pip
15
+ python3 -m pip install huggingface_hub
16
+
17
+ # Log in to Hugging Face
18
+ huggingface-cli login
19
+
20
+ # Enable large file tracking for Hugging Face
21
+ huggingface-cli lfs-enable-largefiles .
Dreambooth_style_V4_with_textured_model-000025.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3182136bb0c3129d7d6529f3e44a11a3f0171d3e6ab01794b4b555b4468aaf9
3
+ size 23802909568
Dreambooth_style_V4_with_textured_model-000050.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5abc1f3a8eabca967b0cb486632332ea4b44d70231a537efdf4b9980fa000b4d
3
+ size 23802909568
Dreambooth_style_V4_with_textured_model-000075.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97fbd923df1c93dfddeedbd0e0434f790d4821c16676980a24925f3c5ffa0222
3
+ size 23802909568
Dreambooth_style_V4_with_textured_model-000100.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1f958b976f1f76aa7de30ad699703965092ad5f5ea5cc1d8ffa3442ee113481
3
+ size 23802909568
Dreambooth_style_V4_with_textured_model-000125.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fcac339bfd605ab29d2c3fe59fb9d5df8ca0948be62ad6a868d81cd43f7b8cf
3
+ size 23802909568
Dreambooth_style_V4_with_textured_model-000150.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:612bd90624946499d82bcca44a823e8289d2d016c2a5714097e342306acd6506
3
+ size 23802909568
Dreambooth_style_V4_with_textured_model-000175.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0eb4bd9b109791693ad5ed77b4d308c62fd245efe7a5d55f5f5c45b75964355
3
+ size 23802909568
Dreambooth_style_V4_with_textured_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a749380de48f31fb2be48cba84829039369f0ebcf52d774844d79344a9b7f72
3
+ size 23802909568
Dreambooth_style_V4_with_textured_model_20241223-142516.json ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "adaptive_noise_scale": 0,
3
+ "additional_parameters": "",
4
+ "ae": "/workspace/ae.safetensors",
5
+ "apply_t5_attn_mask": false,
6
+ "async_upload": false,
7
+ "blocks_to_swap": 0,
8
+ "blockwise_fused_optimizers": false,
9
+ "bucket_no_upscale": true,
10
+ "bucket_reso_steps": 64,
11
+ "cache_latents": true,
12
+ "cache_latents_to_disk": true,
13
+ "caption_dropout_every_n_epochs": 0,
14
+ "caption_dropout_rate": 0,
15
+ "caption_extension": ".txt",
16
+ "clip_g": "",
17
+ "clip_l": "",
18
+ "clip_skip": 0,
19
+ "color_aug": false,
20
+ "cpu_offload_checkpointing": false,
21
+ "dataset_config": "",
22
+ "debiased_estimation_loss": false,
23
+ "disable_mmap_load_safetensors": false,
24
+ "discrete_flow_shift": 3.1582,
25
+ "double_blocks_to_swap": 0,
26
+ "dynamo_backend": "no",
27
+ "dynamo_mode": "default",
28
+ "dynamo_use_dynamic": false,
29
+ "dynamo_use_fullgraph": false,
30
+ "enable_bucket": false,
31
+ "epoch": 200,
32
+ "extra_accelerate_launch_args": "",
33
+ "flip_aug": false,
34
+ "flux1_cache_text_encoder_outputs": true,
35
+ "flux1_cache_text_encoder_outputs_to_disk": true,
36
+ "flux1_checkbox": true,
37
+ "flux1_clip_l": "/workspace/clip_l.safetensors",
38
+ "flux1_t5xxl": "/workspace/t5xxl_fp16.safetensors",
39
+ "flux_fused_backward_pass": true,
40
+ "fp8_base": false,
41
+ "full_bf16": true,
42
+ "full_fp16": false,
43
+ "fused_backward_pass": false,
44
+ "fused_optimizer_groups": 0,
45
+ "gpu_ids": "0",
46
+ "gradient_accumulation_steps": 1,
47
+ "gradient_checkpointing": true,
48
+ "guidance_scale": 1,
49
+ "huber_c": 0.1,
50
+ "huber_schedule": "snr",
51
+ "huggingface_path_in_repo": "",
52
+ "huggingface_repo_id": "",
53
+ "huggingface_repo_type": "",
54
+ "huggingface_repo_visibility": "",
55
+ "huggingface_token": "",
56
+ "ip_noise_gamma": 0,
57
+ "ip_noise_gamma_random_strength": false,
58
+ "keep_tokens": 0,
59
+ "learning_rate": 4e-06,
60
+ "learning_rate_te": 0,
61
+ "learning_rate_te1": 1e-05,
62
+ "learning_rate_te2": 1e-05,
63
+ "log_config": false,
64
+ "log_tracker_config": "",
65
+ "log_tracker_name": "",
66
+ "log_with": "",
67
+ "logging_dir": "/workspace/Dreambooth_style_V4_with_textured_model/log",
68
+ "logit_mean": 0,
69
+ "logit_std": 1,
70
+ "loss_type": "l2",
71
+ "lr_scheduler": "constant",
72
+ "lr_scheduler_args": "",
73
+ "lr_scheduler_num_cycles": 1,
74
+ "lr_scheduler_power": 1,
75
+ "lr_scheduler_type": "",
76
+ "lr_warmup": 0,
77
+ "lr_warmup_steps": 0,
78
+ "main_process_port": 0,
79
+ "masked_loss": false,
80
+ "max_bucket_reso": 2048,
81
+ "max_data_loader_n_workers": 0,
82
+ "max_resolution": "1024,1024",
83
+ "max_timestep": 1000,
84
+ "max_token_length": 75,
85
+ "max_train_epochs": 0,
86
+ "max_train_steps": 0,
87
+ "mem_eff_attn": false,
88
+ "mem_eff_save": true,
89
+ "metadata_author": "",
90
+ "metadata_description": "",
91
+ "metadata_license": "",
92
+ "metadata_tags": "",
93
+ "metadata_title": "",
94
+ "min_bucket_reso": 256,
95
+ "min_snr_gamma": 0,
96
+ "min_timestep": 0,
97
+ "mixed_precision": "bf16",
98
+ "mode_scale": 1.29,
99
+ "model_list": "custom",
100
+ "model_prediction_type": "raw",
101
+ "multi_gpu": false,
102
+ "multires_noise_discount": 0.3,
103
+ "multires_noise_iterations": 0,
104
+ "no_token_padding": false,
105
+ "noise_offset": 0,
106
+ "noise_offset_random_strength": false,
107
+ "noise_offset_type": "Original",
108
+ "num_cpu_threads_per_process": 2,
109
+ "num_machines": 1,
110
+ "num_processes": 1,
111
+ "optimizer": "Adafactor",
112
+ "optimizer_args": "scale_parameter=False relative_step=False warmup_init=False weight_decay=0.01",
113
+ "output_dir": "/workspace/Dreambooth_style_V4_with_textured_model/model",
114
+ "output_name": "Dreambooth_style_V4_with_textured_model",
115
+ "persistent_data_loader_workers": false,
116
+ "pretrained_model_name_or_path": "/workspace/CHB-textured-cup-000175.safetensors",
117
+ "prior_loss_weight": 1,
118
+ "random_crop": false,
119
+ "reg_data_dir": "",
120
+ "resume": "",
121
+ "resume_from_huggingface": "",
122
+ "sample_every_n_epochs": 0,
123
+ "sample_every_n_steps": 0,
124
+ "sample_prompts": "",
125
+ "sample_sampler": "euler_a",
126
+ "save_clip": false,
127
+ "save_every_n_epochs": 25,
128
+ "save_every_n_steps": 0,
129
+ "save_last_n_epochs": 0,
130
+ "save_last_n_epochs_state": 0,
131
+ "save_last_n_steps": 0,
132
+ "save_last_n_steps_state": 0,
133
+ "save_model_as": "safetensors",
134
+ "save_precision": "fp16",
135
+ "save_state": false,
136
+ "save_state_on_train_end": false,
137
+ "save_state_to_huggingface": false,
138
+ "save_t5xxl": false,
139
+ "scale_v_pred_loss_like_noise_pred": false,
140
+ "sd3_cache_text_encoder_outputs": false,
141
+ "sd3_cache_text_encoder_outputs_to_disk": false,
142
+ "sd3_checkbox": false,
143
+ "sd3_text_encoder_batch_size": 1,
144
+ "sdxl": false,
145
+ "sdxl_cache_text_encoder_outputs": false,
146
+ "sdxl_no_half_vae": false,
147
+ "seed": 1,
148
+ "shuffle_caption": false,
149
+ "single_blocks_to_swap": 0,
150
+ "skip_cache_check": false,
151
+ "split_mode": false,
152
+ "stop_text_encoder_training": 0,
153
+ "t5xxl": "",
154
+ "t5xxl_device": "",
155
+ "t5xxl_dtype": "bf16",
156
+ "t5xxl_max_token_length": 512,
157
+ "timestep_sampling": "sigmoid",
158
+ "train_batch_size": 1,
159
+ "train_blocks": "all",
160
+ "train_data_dir": "/workspace/Dreambooth_style_V4_with_textured_model/img",
161
+ "v2": false,
162
+ "v_parameterization": false,
163
+ "v_pred_like_loss": 0,
164
+ "vae": "",
165
+ "vae_batch_size": 4,
166
+ "wandb_api_key": "",
167
+ "wandb_run_name": "",
168
+ "weighted_captions": false,
169
+ "weighting_scheme": "logit_normal",
170
+ "xformers": "xformers"
171
+ }
git_setup.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ # Run these commands as root or in an environment without the need for sudo.
5
+
6
+ # Update and install git-lfs
7
+ apt update
8
+ apt install -y git-lfs
9
+
10
+ # Configure git-lfs
11
+ git lfs install
12
+
13
+ # Install huggingface_hub
14
+ python3 -m pip install --upgrade pip
15
+ python3 -m pip install huggingface_hub
16
+
17
+ # Log in to Hugging Face
18
+ huggingface-cli login
19
+
20
+ # Enable large file tracking for Hugging Face
21
+ huggingface-cli lfs-enable-largefiles .