linhqyy commited on
Commit
796bf0d
1 Parent(s): 4353ed8

Upload folder using huggingface_hub

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 +69 -0
  2. config.yaml +79 -0
  3. human_training.safetensors +3 -0
  4. human_training_000001000.safetensors +3 -0
  5. human_training_000002000.safetensors +3 -0
  6. human_training_000003000.safetensors +3 -0
  7. human_training_000004000.safetensors +3 -0
  8. optimizer.pt +3 -0
  9. samples/.ipynb_checkpoints/1726478082429__000000000_0-checkpoint.jpg +0 -0
  10. samples/.ipynb_checkpoints/1726478093522__000000000_1-checkpoint.jpg +0 -0
  11. samples/.ipynb_checkpoints/1726478104724__000000000_2-checkpoint.jpg +0 -0
  12. samples/.ipynb_checkpoints/1726478524525__000000000_0-checkpoint.jpg +0 -0
  13. samples/.ipynb_checkpoints/1726478535619__000000000_1-checkpoint.jpg +0 -0
  14. samples/.ipynb_checkpoints/1726478546829__000000000_2-checkpoint.jpg +0 -0
  15. samples/.ipynb_checkpoints/1726479535381__000000500_0-checkpoint.jpg +0 -0
  16. samples/.ipynb_checkpoints/1726479546737__000000500_1-checkpoint.jpg +0 -0
  17. samples/.ipynb_checkpoints/1726479558130__000000500_2-checkpoint.jpg +0 -0
  18. samples/.ipynb_checkpoints/1726480551689__000001000_0-checkpoint.jpg +0 -0
  19. samples/.ipynb_checkpoints/1726480563030__000001000_1-checkpoint.jpg +0 -0
  20. samples/.ipynb_checkpoints/1726480574426__000001000_2-checkpoint.jpg +0 -0
  21. samples/.ipynb_checkpoints/1726481773391__000001500_0-checkpoint.jpg +0 -0
  22. samples/.ipynb_checkpoints/1726481784729__000001500_1-checkpoint.jpg +0 -0
  23. samples/.ipynb_checkpoints/1726481796031__000001500_2-checkpoint.jpg +0 -0
  24. samples/.ipynb_checkpoints/1726482799976__000002000_0-checkpoint.jpg +0 -0
  25. samples/.ipynb_checkpoints/1726482811334__000002000_1-checkpoint.jpg +0 -0
  26. samples/.ipynb_checkpoints/1726482822746__000002000_2-checkpoint.jpg +0 -0
  27. samples/.ipynb_checkpoints/1726484018590__000002500_0-checkpoint.jpg +0 -0
  28. samples/.ipynb_checkpoints/1726484029939__000002500_1-checkpoint.jpg +0 -0
  29. samples/.ipynb_checkpoints/1726484041338__000002500_2-checkpoint.jpg +0 -0
  30. samples/.ipynb_checkpoints/1726485053889__000003000_0-checkpoint.jpg +0 -0
  31. samples/.ipynb_checkpoints/1726485065239__000003000_1-checkpoint.jpg +0 -0
  32. samples/.ipynb_checkpoints/1726485076642__000003000_2-checkpoint.jpg +0 -0
  33. samples/.ipynb_checkpoints/1726626010747__000001500_0-checkpoint.jpg +0 -0
  34. samples/.ipynb_checkpoints/1726626022068__000001500_1-checkpoint.jpg +0 -0
  35. samples/.ipynb_checkpoints/1726626033360__000001500_2-checkpoint.jpg +0 -0
  36. samples/.ipynb_checkpoints/1726627033618__000002000_0-checkpoint.jpg +0 -0
  37. samples/.ipynb_checkpoints/1726628268527__000002500_0-checkpoint.jpg +0 -0
  38. samples/.ipynb_checkpoints/1726628291060__000002500_2-checkpoint.jpg +0 -0
  39. samples/.ipynb_checkpoints/1726629300026__000003000_0-checkpoint.jpg +0 -0
  40. samples/.ipynb_checkpoints/1726630530528__000003500_0-checkpoint.jpg +0 -0
  41. samples/.ipynb_checkpoints/1726631559731__000004000_0-checkpoint.jpg +0 -0
  42. samples/.ipynb_checkpoints/1726632795666__000004500_0-checkpoint.jpg +0 -0
  43. samples/.ipynb_checkpoints/1726633834116__000005000_0-checkpoint.jpg +0 -0
  44. samples/1726478082429__000000000_0.jpg +0 -0
  45. samples/1726478093522__000000000_1.jpg +0 -0
  46. samples/1726478104724__000000000_2.jpg +0 -0
  47. samples/1726478524525__000000000_0.jpg +0 -0
  48. samples/1726478535619__000000000_1.jpg +0 -0
  49. samples/1726478546829__000000000_2.jpg +0 -0
  50. samples/1726479535381__000000500_0.jpg +0 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - flux
5
+ - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ - ai-toolkit
9
+ widget:
10
+ - text: photo-realistic. wide angle view, An elderly monk with bald head and a long
11
+ white beard playing a flute in a tranquil waterfall setting. relaxing face,
12
+ plays a traditional wooden flute near his mouth, both hand placed on the flute
13
+ and separated, bright the man face with natural light. He is wearing traditional
14
+ yellow Taoist robes and is meditating on the mountain path. The background
15
+ is a waterfall over a jungle, wide view. High Detail, Beautiful scenary, realistic
16
+ light, soft light, realistic photography, taken by Sony a7300.
17
+ output:
18
+ url: samples/1726633834116__000005000_0.jpg
19
+ - text: woman, female, outdoor, nature, forest, waterfall, serene, peaceful, musical
20
+ instrument, handpan, long hair, wavy, floral dress, goddess-like, ethereal,
21
+ sitting, golden hour, sunlight, water reflection, green tones, romantic, portrait,
22
+ delicate, tranquil, magic realism, fantasy-like, flowy dress, wreath, ivy,
23
+ idyllic, artistic, soft lighting, warm hues, bohemian, dreamy atmosphere,
24
+ natural makeup, ambient light, harmonious, calm.
25
+ output:
26
+ url: samples/1726633845402__000005000_1.jpg
27
+ - text: A young woman with soft, delicate features is shown sleeping calmly on a
28
+ white pillow, wrapped in cozy blankets, wide view. The gentle blue hue of
29
+ moonlight illuminates her serene face through the window beside her, casting
30
+ a soft glow over the room. Her hair flows loosely on the pillow, adding to
31
+ the tranquil mood. Outside the window, the deep blue night sky sets a calming,
32
+ dreamlike atmosphere.
33
+ output:
34
+ url: samples/1726633856660__000005000_2.jpg
35
+ base_model: black-forest-labs/FLUX.1-dev
36
+
37
+ license: other
38
+ license_name: flux-1-dev-non-commercial-license
39
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
40
+ ---
41
+
42
+ # human_training
43
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
44
+ <Gallery />
45
+
46
+ ## Trigger words
47
+
48
+ No trigger words defined.
49
+
50
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
51
+
52
+ Weights for this model are available in Safetensors format.
53
+
54
+ [Download](/None/tree/main) them in the Files & versions tab.
55
+
56
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
57
+
58
+ ```py
59
+ from diffusers import AutoPipelineForText2Image
60
+ import torch
61
+
62
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
63
+ pipeline.load_lora_weights('None', weight_name='human_training')
64
+ image = pipeline('photo-realistic. wide angle view, An elderly monk with bald head and a long white beard playing a flute in a tranquil waterfall setting. relaxing face, plays a traditional wooden flute near his mouth, both hand placed on the flute and separated, bright the man face with natural light. He is wearing traditional yellow Taoist robes and is meditating on the mountain path. The background is a waterfall over a jungle, wide view. High Detail, Beautiful scenary, realistic light, soft light, realistic photography, taken by Sony a7300.').images[0]
65
+ image.save("my_image.png")
66
+ ```
67
+
68
+ For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
69
+
config.yaml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: human_training
4
+ process:
5
+ - type: sd_trainer
6
+ training_folder: output
7
+ device: cuda:0
8
+ network:
9
+ type: lora
10
+ linear: 32
11
+ linear_alpha: 16
12
+ save:
13
+ dtype: float16
14
+ save_every: 1000
15
+ max_step_saves_to_keep: 5
16
+ push_to_hub: true
17
+ hf_repo_id: linhqyy/human-hig-v4
18
+ hf_private: false
19
+ datasets:
20
+ - folder_path: /workspace/human_training
21
+ caption_ext: txt
22
+ caption_dropout_rate: 0.05
23
+ shuffle_tokens: false
24
+ cache_latents_to_disk: true
25
+ resolution:
26
+ - 512
27
+ - 768
28
+ - 1024
29
+ train:
30
+ batch_size: 1
31
+ steps: 5000
32
+ gradient_accumulation_steps: 1
33
+ train_unet: true
34
+ train_text_encoder: false
35
+ gradient_checkpointing: true
36
+ noise_scheduler: flowmatch
37
+ optimizer: adamw8bit
38
+ lr: 0.0001
39
+ ema_config:
40
+ use_ema: true
41
+ ema_decay: 0.99
42
+ dtype: bf16
43
+ model:
44
+ name_or_path: black-forest-labs/FLUX.1-dev
45
+ is_flux: true
46
+ quantize: false
47
+ sample:
48
+ sampler: flowmatch
49
+ sample_every: 500
50
+ width: 1024
51
+ height: 1024
52
+ prompts:
53
+ - photo-realistic. wide angle view, An elderly monk with bald head and a long
54
+ white beard playing a flute in a tranquil waterfall setting. relaxing face,
55
+ plays a traditional wooden flute near his mouth, both hand placed on the flute
56
+ and separated, bright the man face with natural light. He is wearing traditional
57
+ yellow Taoist robes and is meditating on the mountain path. The background
58
+ is a waterfall over a jungle, wide view. High Detail, Beautiful scenary, realistic
59
+ light, soft light, realistic photography, taken by Sony a7300.
60
+ - woman, female, outdoor, nature, forest, waterfall, serene, peaceful, musical
61
+ instrument, handpan, long hair, wavy, floral dress, goddess-like, ethereal,
62
+ sitting, golden hour, sunlight, water reflection, green tones, romantic, portrait,
63
+ delicate, tranquil, magic realism, fantasy-like, flowy dress, wreath, ivy,
64
+ idyllic, artistic, soft lighting, warm hues, bohemian, dreamy atmosphere,
65
+ natural makeup, ambient light, harmonious, calm.
66
+ - A young woman with soft, delicate features is shown sleeping calmly on a white
67
+ pillow, wrapped in cozy blankets, wide view. The gentle blue hue of moonlight
68
+ illuminates her serene face through the window beside her, casting a soft
69
+ glow over the room. Her hair flows loosely on the pillow, adding to the tranquil
70
+ mood. Outside the window, the deep blue night sky sets a calming, dreamlike
71
+ atmosphere.
72
+ neg: ''
73
+ seed: 42
74
+ walk_seed: true
75
+ guidance_scale: 4
76
+ sample_steps: 20
77
+ meta:
78
+ name: human_training
79
+ version: '1.0'
human_training.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8a76fb8325210c87e4dac8d9ff317958fae425e973c2d4806ec0874ac216f68
3
+ size 343805392
human_training_000001000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ad1330154ae9de1ec40fff0d0c2647e236595e2db10e867eec86ebbe486c856
3
+ size 343805392
human_training_000002000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:234ba62157445381582cd557b9deec5ce81cd6956f2d8df77bae9c3dd73843e2
3
+ size 343805392
human_training_000003000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44bdaa9e89cf8daf85dd687e693f477d7b512e40bd96266f3d1b4208e64d2cbb
3
+ size 343805392
human_training_000004000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05131e6b13dda960d348a65327be64176ea639c124f2e5b6abcee8c587fe92d7
3
+ size 343805392
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16ecee0e8c2cc8f7246e3f15cf312b05336398f52d9547e42ecee09834af0419
3
+ size 345500484
samples/.ipynb_checkpoints/1726478082429__000000000_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726478093522__000000000_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726478104724__000000000_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726478524525__000000000_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726478535619__000000000_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726478546829__000000000_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726479535381__000000500_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726479546737__000000500_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726479558130__000000500_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726480551689__000001000_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726480563030__000001000_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726480574426__000001000_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726481773391__000001500_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726481784729__000001500_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726481796031__000001500_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726482799976__000002000_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726482811334__000002000_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726482822746__000002000_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726484018590__000002500_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726484029939__000002500_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726484041338__000002500_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726485053889__000003000_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726485065239__000003000_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726485076642__000003000_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726626010747__000001500_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726626022068__000001500_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726626033360__000001500_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726627033618__000002000_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726628268527__000002500_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726628291060__000002500_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726629300026__000003000_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726630530528__000003500_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726631559731__000004000_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726632795666__000004500_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1726633834116__000005000_0-checkpoint.jpg ADDED
samples/1726478082429__000000000_0.jpg ADDED
samples/1726478093522__000000000_1.jpg ADDED
samples/1726478104724__000000000_2.jpg ADDED
samples/1726478524525__000000000_0.jpg ADDED
samples/1726478535619__000000000_1.jpg ADDED
samples/1726478546829__000000000_2.jpg ADDED
samples/1726479535381__000000500_0.jpg ADDED