linhqyy commited on
Commit
c7f3491
·
verified ·
1 Parent(s): cfc9900

Upload folder using huggingface_hub

Browse files
.ipynb_checkpoints/dataset-checkpoint.toml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [general]
2
+ shuffle_caption = false
3
+ caption_extension = '.txt'
4
+ keep_tokens = 1
5
+
6
+ [[datasets]]
7
+ resolution = 1024
8
+ batch_size = 1
9
+ keep_tokens = 1
10
+
11
+ [[datasets.subsets]]
12
+ image_dir = '/workspace/fluxgym/datasets/jazzy-kohya'
13
+ class_tokens = ''
14
+ num_repeats = 10
dataset.toml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [general]
2
+ shuffle_caption = false
3
+ caption_extension = '.txt'
4
+ keep_tokens = 1
5
+
6
+ [[datasets]]
7
+ resolution = 1024
8
+ batch_size = 1
9
+ keep_tokens = 1
10
+
11
+ [[datasets.subsets]]
12
+ image_dir = '/workspace/fluxgym/datasets/jazzy-kohya'
13
+ class_tokens = ''
14
+ num_repeats = 10
jazzy-kohya-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a23e38b079cb1e6cff6b9575c390f4f6205b63395ab3a818377f743771062aeb
3
+ size 306443336
jazzy-kohya-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65308cadfbfda6e22613d365c62c0e2d3aadea31aeae9d9f72a7ea66b2b3d163
3
+ size 306443336
jazzy-kohya-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20704ffcab4f3ff61157b87968f64d1dda470998d5ef69fe6bd11be3bf43b216
3
+ size 306443336
jazzy-kohya-000016.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:580bd93571e572789992a2e8c7285a14cdd48cda2592f01ee8ba97c19d621855
3
+ size 306443336
sample/jazzy-kohya_000500_00_20241121084126.png ADDED
sample/jazzy-kohya_001000_00_20241121085608.png ADDED
sample/jazzy-kohya_001500_00_20241121091020.png ADDED
sample/jazzy-kohya_002000_00_20241121092420.png ADDED
sample/jazzy-kohya_002500_00_20241121093821.png ADDED
sample/jazzy-kohya_003000_00_20241121095230.png ADDED
sample/jazzy-kohya_003500_00_20241121100635.png ADDED
sample/jazzy-kohya_004000_00_20241121102013.png ADDED
sample/jazzy-kohya_004500_00_20241121103352.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A girl in light blue sits at the bar counter, holding an ice-cold wine glass and drinking alone on top of the Eiffel Tower, with a night view outside the window.. It features a close-up shot of her sitting by herself. She has long hair, wears glasses, faces away from the camera, and is wearing white shoes, black pants, a gray jacket, and a green scarf. with bright colors and a Paris night background featuring the Eiffel Tower. The composition is elegant, with the woman sitting on a high stool
train.sh ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ accelerate launch \
2
+ --mixed_precision bf16 \
3
+ --num_cpu_threads_per_process 1 \
4
+ sd-scripts/flux_train_network.py \
5
+ --pretrained_model_name_or_path "/workspace/fluxgym/models/unet/flux1-dev.sft" \
6
+ --clip_l "/workspace/fluxgym/models/clip/clip_l.safetensors" \
7
+ --t5xxl "/workspace/fluxgym/models/clip/t5xxl_fp16.safetensors" \
8
+ --ae "/workspace/fluxgym/models/vae/ae.sft" \
9
+ --cache_latents_to_disk \
10
+ --save_model_as safetensors \
11
+ --sdpa --persistent_data_loader_workers \
12
+ --max_data_loader_n_workers 2 \
13
+ --seed 42 \
14
+ --gradient_checkpointing \
15
+ --mixed_precision bf16 \
16
+ --save_precision bf16 \
17
+ --network_module networks.lora_flux \
18
+ --network_dim 32 \
19
+ --optimizer_type adamw8bit \--sample_prompts="/workspace/fluxgym/outputs/jazzy-kohya/sample_prompts.txt" --sample_every_n_steps="500" \
20
+ --learning_rate 4e-4 \
21
+ --cache_text_encoder_outputs \
22
+ --cache_text_encoder_outputs_to_disk \
23
+ --fp8_base \
24
+ --highvram \
25
+ --max_train_epochs 30 \
26
+ --save_every_n_epochs 4 \
27
+ --dataset_config "/workspace/fluxgym/outputs/jazzy-kohya/dataset.toml" \
28
+ --output_dir "/workspace/fluxgym/outputs/jazzy-kohya" \
29
+ --output_name jazzy-kohya \
30
+ --timestep_sampling shift \
31
+ --discrete_flow_shift 3.1582 \
32
+ --model_prediction_type raw \
33
+ --guidance_scale 3 \
34
+ --loss_type l2 \
35
+ --full_bf16 \
36
+ --max_train_steps 6000 \
37
+ --network_train_unet_only