Upload folder using huggingface_hub
Browse files- c3d1-000004.safetensors +3 -0
- dataset.toml +14 -0
- sample/c3d1_000100_00_20241016180843.png +0 -0
- sample/c3d1_000100_01_20241016180848.png +0 -0
- sample/c3d1_000100_02_20241016180854.png +0 -0
- sample/c3d1_000200_00_20241016181357.png +0 -0
- sample/c3d1_000200_01_20241016181403.png +0 -0
- sample/c3d1_000200_02_20241016181409.png +0 -0
- sample/c3d1_000300_00_20241016181912.png +0 -0
- sample/c3d1_000300_01_20241016181917.png +0 -0
- sample/c3d1_000300_02_20241016181923.png +0 -0
- sample/c3d1_000400_00_20241016182426.png +0 -0
- sample/c3d1_000400_01_20241016182432.png +0 -0
- sample/c3d1_000400_02_20241016182438.png +0 -0
- sample/c3d1_000500_00_20241016182941.png +0 -0
- sample/c3d1_000500_01_20241016182946.png +0 -0
- sample/c3d1_000500_02_20241016182952.png +0 -0
- sample/c3d1_000600_00_20241016183454.png +0 -0
- sample/c3d1_000600_01_20241016183459.png +0 -0
- sample/c3d1_000600_02_20241016183505.png +0 -0
- sample/c3d1_000700_00_20241016184008.png +0 -0
- sample/c3d1_000700_01_20241016184013.png +0 -0
- sample/c3d1_000700_02_20241016184019.png +0 -0
- sample/c3d1_000800_00_20241016184521.png +0 -0
- sample/c3d1_000800_01_20241016184527.png +0 -0
- sample/c3d1_000800_02_20241016184532.png +0 -0
- sample/c3d1_000900_00_20241016185034.png +0 -0
- sample/c3d1_000900_01_20241016185040.png +0 -0
- sample/c3d1_000900_02_20241016185046.png +0 -0
- sample/c3d1_001000_00_20241016185548.png +0 -0
- sample/c3d1_001000_01_20241016185553.png +0 -0
- sample/c3d1_001000_02_20241016185559.png +0 -0
- sample/c3d1_001100_00_20241016190101.png +0 -0
- sample/c3d1_001100_01_20241016190107.png +0 -0
- sample/c3d1_001100_02_20241016190113.png +0 -0
- sample/c3d1_001200_00_20241016190615.png +0 -0
- sample/c3d1_001200_01_20241016190621.png +0 -0
- sample/c3d1_001200_02_20241016190626.png +0 -0
- sample_prompts.txt +3 -0
- train.sh +34 -0
c3d1-000004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:353830dfb5f895f70cc53a0056a26711dcf74ebb8fcebe937d3e6d995be3e4c4
|
| 3 |
+
size 39763336
|
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 = '/app/fluxgym/datasets/c3d1'
|
| 13 |
+
class_tokens = 'c3d1 man'
|
| 14 |
+
num_repeats = 10
|
sample/c3d1_000100_00_20241016180843.png
ADDED
|
sample/c3d1_000100_01_20241016180848.png
ADDED
|
sample/c3d1_000100_02_20241016180854.png
ADDED
|
sample/c3d1_000200_00_20241016181357.png
ADDED
|
sample/c3d1_000200_01_20241016181403.png
ADDED
|
sample/c3d1_000200_02_20241016181409.png
ADDED
|
sample/c3d1_000300_00_20241016181912.png
ADDED
|
sample/c3d1_000300_01_20241016181917.png
ADDED
|
sample/c3d1_000300_02_20241016181923.png
ADDED
|
sample/c3d1_000400_00_20241016182426.png
ADDED
|
sample/c3d1_000400_01_20241016182432.png
ADDED
|
sample/c3d1_000400_02_20241016182438.png
ADDED
|
sample/c3d1_000500_00_20241016182941.png
ADDED
|
sample/c3d1_000500_01_20241016182946.png
ADDED
|
sample/c3d1_000500_02_20241016182952.png
ADDED
|
sample/c3d1_000600_00_20241016183454.png
ADDED
|
sample/c3d1_000600_01_20241016183459.png
ADDED
|
sample/c3d1_000600_02_20241016183505.png
ADDED
|
sample/c3d1_000700_00_20241016184008.png
ADDED
|
sample/c3d1_000700_01_20241016184013.png
ADDED
|
sample/c3d1_000700_02_20241016184019.png
ADDED
|
sample/c3d1_000800_00_20241016184521.png
ADDED
|
sample/c3d1_000800_01_20241016184527.png
ADDED
|
sample/c3d1_000800_02_20241016184532.png
ADDED
|
sample/c3d1_000900_00_20241016185034.png
ADDED
|
sample/c3d1_000900_01_20241016185040.png
ADDED
|
sample/c3d1_000900_02_20241016185046.png
ADDED
|
sample/c3d1_001000_00_20241016185548.png
ADDED
|
sample/c3d1_001000_01_20241016185553.png
ADDED
|
sample/c3d1_001000_02_20241016185559.png
ADDED
|
sample/c3d1_001100_00_20241016190101.png
ADDED
|
sample/c3d1_001100_01_20241016190107.png
ADDED
|
sample/c3d1_001100_02_20241016190113.png
ADDED
|
sample/c3d1_001200_00_20241016190615.png
ADDED
|
sample/c3d1_001200_01_20241016190621.png
ADDED
|
sample/c3d1_001200_02_20241016190626.png
ADDED
|
sample_prompts.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
c3d1 man eating ice cream, happy --42
|
| 2 |
+
c3d1 man in a surreal virtual 3D world, --42
|
| 3 |
+
c3d1 man riding a bear into battle, --42
|
train.sh
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 "/app/fluxgym/models/unet/flux1-dev.sft" \
|
| 6 |
+
--clip_l "/app/fluxgym/models/clip/clip_l.safetensors" \
|
| 7 |
+
--t5xxl "/app/fluxgym/models/clip/t5xxl_fp16.safetensors" \
|
| 8 |
+
--ae "/app/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 4 \
|
| 19 |
+
--optimizer_type adamw8bit \--sample_prompts="/app/fluxgym/outputs/c3d1/sample_prompts.txt" --sample_every_n_steps="100" \
|
| 20 |
+
--learning_rate 8e-4 \
|
| 21 |
+
--cache_text_encoder_outputs \
|
| 22 |
+
--cache_text_encoder_outputs_to_disk \
|
| 23 |
+
--fp8_base \
|
| 24 |
+
--highvram \
|
| 25 |
+
--max_train_epochs 20 \
|
| 26 |
+
--save_every_n_epochs 4 \
|
| 27 |
+
--dataset_config "/app/fluxgym/outputs/c3d1/dataset.toml" \
|
| 28 |
+
--output_dir "/app/fluxgym/outputs/c3d1" \
|
| 29 |
+
--output_name c3d1 \
|
| 30 |
+
--timestep_sampling shift \
|
| 31 |
+
--discrete_flow_shift 3.1582 \
|
| 32 |
+
--model_prediction_type raw \
|
| 33 |
+
--guidance_scale 1 \
|
| 34 |
+
--loss_type l2 \
|