linhqyy commited on
Commit
f483897
·
verified ·
1 Parent(s): 62a19f2

Upload folder using huggingface_hub

Browse files
Files changed (46) hide show
  1. README.md +79 -0
  2. config.yaml +91 -0
  3. optimizer.pt +3 -0
  4. relax-piano.safetensors +3 -0
  5. relax-piano_000001000.safetensors +3 -0
  6. relax-piano_000002000.safetensors +3 -0
  7. relax-piano_000003000.safetensors +3 -0
  8. relax-piano_000004000.safetensors +3 -0
  9. samples/.ipynb_checkpoints/1730278908459__000000000_0-checkpoint.jpg +0 -0
  10. samples/.ipynb_checkpoints/1730278914156__000000000_1-checkpoint.jpg +0 -0
  11. samples/.ipynb_checkpoints/1730281162808__000001000_0-checkpoint.jpg +0 -0
  12. samples/.ipynb_checkpoints/1730281168669__000001000_1-checkpoint.jpg +0 -0
  13. samples/.ipynb_checkpoints/1730282359520__000001500_0-checkpoint.jpg +0 -0
  14. samples/.ipynb_checkpoints/1730282365273__000001500_1-checkpoint.jpg +0 -0
  15. samples/.ipynb_checkpoints/1730283543052__000002000_1-checkpoint.jpg +0 -0
  16. samples/.ipynb_checkpoints/1730284732614__000002500_0-checkpoint.jpg +0 -0
  17. samples/.ipynb_checkpoints/1730284738347__000002500_1-checkpoint.jpg +0 -0
  18. samples/.ipynb_checkpoints/1730285917032__000003000_1-checkpoint.jpg +0 -0
  19. samples/.ipynb_checkpoints/1730343673227__000003500_0-checkpoint.jpg +0 -0
  20. samples/.ipynb_checkpoints/1730343679024__000003500_1-checkpoint.jpg +0 -0
  21. samples/.ipynb_checkpoints/1730344830043__000004000_0-checkpoint.jpg +0 -0
  22. samples/.ipynb_checkpoints/1730344835730__000004000_1-checkpoint.jpg +0 -0
  23. samples/.ipynb_checkpoints/1730346014448__000004500_0-checkpoint.jpg +0 -0
  24. samples/.ipynb_checkpoints/1730346019968__000004500_1-checkpoint.jpg +0 -0
  25. samples/1730278908459__000000000_0.jpg +0 -0
  26. samples/1730278914156__000000000_1.jpg +0 -0
  27. samples/1730280036620__000000500_0.jpg +0 -0
  28. samples/1730280042348__000000500_1.jpg +0 -0
  29. samples/1730281162808__000001000_0.jpg +0 -0
  30. samples/1730281168669__000001000_1.jpg +0 -0
  31. samples/1730282359520__000001500_0.jpg +0 -0
  32. samples/1730282365273__000001500_1.jpg +0 -0
  33. samples/1730283537325__000002000_0.jpg +0 -0
  34. samples/1730283543052__000002000_1.jpg +0 -0
  35. samples/1730284732614__000002500_0.jpg +0 -0
  36. samples/1730284738347__000002500_1.jpg +0 -0
  37. samples/1730285911310__000003000_0.jpg +0 -0
  38. samples/1730285917032__000003000_1.jpg +0 -0
  39. samples/1730343673227__000003500_0.jpg +0 -0
  40. samples/1730343679024__000003500_1.jpg +0 -0
  41. samples/1730344830043__000004000_0.jpg +0 -0
  42. samples/1730344835730__000004000_1.jpg +0 -0
  43. samples/1730346014448__000004500_0.jpg +0 -0
  44. samples/1730346019968__000004500_1.jpg +0 -0
  45. samples/1730347162944__000005000_0.jpg +0 -0
  46. samples/1730347168507__000005000_1.jpg +0 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - flux
5
+ - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ - ai-toolkit
9
+ widget:
10
+ - text: This is a vibrant digital illustration featuring a serene forest scene.
11
+ In the foreground, a tranquil pond reflects the surrounding lush greenery
12
+ and a clear, blue sky with a few fluffy clouds. The pond is dotted with various-sized
13
+ rocks and surrounded by vibrant flora, including orange and yellow flowers
14
+ with large, glossy leaves. The water is calm, with gentle ripples and a few
15
+ floating leaves. The central focus of the image is a cheerful, round, yellow
16
+ sunfish-like creature with a smiling face, small pink flowers on its head,
17
+ and closed eyes. It appears to be swimming contentedly in the pond, adding
18
+ a whimsical and playful element to the scene. The background is a dense forest
19
+ filled with tall, leafy trees with a mix of green and orange hues, suggesting
20
+ autumn. The sunlight filters through the leaves, creating a dappled effect
21
+ on the ground and the water. Small birds are seen flying or perched on the
22
+ branches, adding to the peaceful ambiance. The overall style of the illustration
23
+ is whimsical and cartoonish, with bright, bold colors and clean lines, emphasizing
24
+ the tranquility and beauty of nature. The artist's attention to detail and
25
+ the soft, almost dreamy lighting enhance the scene's charm.
26
+ output:
27
+ url: samples/1730347162944__000005000_0.jpg
28
+ - text: This is a digital illustration depicting a cozy, nighttime study scene.
29
+ At the center of the image is a young man with short, light blonde hair, wearing
30
+ a white shirt and sitting in a simple wooden chair. He is focused on a laptop
31
+ on a wooden desk, which is illuminated by a warm, yellow desk lamp. The room
32
+ is dimly lit, suggesting it is late at night. To the left of the desk, there
33
+ is a potted plant with large, green leaves, adding a touch of nature to the
34
+ otherwise urban environment. On the right side of the desk, there is another
35
+ potted plant and a stack of books, indicating a love for reading. Through
36
+ the large window behind the man, a cityscape is visible, with tall skyscrapers
37
+ illuminated by city lights, creating a contrast to the warm interior lighting.
38
+ The sky outside is dark, with scattered raindrops visible, suggesting a rainy
39
+ night. The overall ambiance of the image is serene and focused, with a blend
40
+ of warm, cozy indoor lighting and the cool, urban exterior. The art style
41
+ is detailed and realistic, with a focus on soft textures and subtle shading,
42
+ creating a calming, inviting atmosphere.
43
+ output:
44
+ url: samples/1730347168507__000005000_1.jpg
45
+ base_model: black-forest-labs/FLUX.1-dev
46
+
47
+ license: other
48
+ license_name: flux-1-dev-non-commercial-license
49
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
50
+ ---
51
+
52
+ # relax-piano
53
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
54
+ <Gallery />
55
+
56
+ ## Trigger words
57
+
58
+ No trigger words defined.
59
+
60
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
61
+
62
+ Weights for this model are available in Safetensors format.
63
+
64
+ [Download](/None/tree/main) them in the Files & versions tab.
65
+
66
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
67
+
68
+ ```py
69
+ from diffusers import AutoPipelineForText2Image
70
+ import torch
71
+
72
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
73
+ pipeline.load_lora_weights('None', weight_name='relax-piano.safetensors')
74
+ image = pipeline('This is a vibrant digital illustration featuring a serene forest scene. In the foreground, a tranquil pond reflects the surrounding lush greenery and a clear, blue sky with a few fluffy clouds. The pond is dotted with various-sized rocks and surrounded by vibrant flora, including orange and yellow flowers with large, glossy leaves. The water is calm, with gentle ripples and a few floating leaves. The central focus of the image is a cheerful, round, yellow sunfish-like creature with a smiling face, small pink flowers on its head, and closed eyes. It appears to be swimming contentedly in the pond, adding a whimsical and playful element to the scene. The background is a dense forest filled with tall, leafy trees with a mix of green and orange hues, suggesting autumn. The sunlight filters through the leaves, creating a dappled effect on the ground and the water. Small birds are seen flying or perched on the branches, adding to the peaceful ambiance. The overall style of the illustration is whimsical and cartoonish, with bright, bold colors and clean lines, emphasizing the tranquility and beauty of nature. The artist's attention to detail and the soft, almost dreamy lighting enhance the scene's charm.').images[0]
75
+ image.save("my_image.png")
76
+ ```
77
+
78
+ 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)
79
+
config.yaml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: relax-piano
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: 32
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/relax
18
+ hf_private: false
19
+ datasets:
20
+ - folder_path: /workspace/Relax
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.0004
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
+ - This is a vibrant digital illustration featuring a serene forest scene. In
54
+ the foreground, a tranquil pond reflects the surrounding lush greenery and
55
+ a clear, blue sky with a few fluffy clouds. The pond is dotted with various-sized
56
+ rocks and surrounded by vibrant flora, including orange and yellow flowers
57
+ with large, glossy leaves. The water is calm, with gentle ripples and a few
58
+ floating leaves. The central focus of the image is a cheerful, round, yellow
59
+ sunfish-like creature with a smiling face, small pink flowers on its head,
60
+ and closed eyes. It appears to be swimming contentedly in the pond, adding
61
+ a whimsical and playful element to the scene. The background is a dense forest
62
+ filled with tall, leafy trees with a mix of green and orange hues, suggesting
63
+ autumn. The sunlight filters through the leaves, creating a dappled effect
64
+ on the ground and the water. Small birds are seen flying or perched on the
65
+ branches, adding to the peaceful ambiance. The overall style of the illustration
66
+ is whimsical and cartoonish, with bright, bold colors and clean lines, emphasizing
67
+ the tranquility and beauty of nature. The artist's attention to detail and
68
+ the soft, almost dreamy lighting enhance the scene's charm.
69
+ - This is a digital illustration depicting a cozy, nighttime study scene. At
70
+ the center of the image is a young man with short, light blonde hair, wearing
71
+ a white shirt and sitting in a simple wooden chair. He is focused on a laptop
72
+ on a wooden desk, which is illuminated by a warm, yellow desk lamp. The room
73
+ is dimly lit, suggesting it is late at night. To the left of the desk, there
74
+ is a potted plant with large, green leaves, adding a touch of nature to the
75
+ otherwise urban environment. On the right side of the desk, there is another
76
+ potted plant and a stack of books, indicating a love for reading. Through
77
+ the large window behind the man, a cityscape is visible, with tall skyscrapers
78
+ illuminated by city lights, creating a contrast to the warm interior lighting.
79
+ The sky outside is dark, with scattered raindrops visible, suggesting a rainy
80
+ night. The overall ambiance of the image is serene and focused, with a blend
81
+ of warm, cozy indoor lighting and the cool, urban exterior. The art style
82
+ is detailed and realistic, with a focus on soft textures and subtle shading,
83
+ creating a calming, inviting atmosphere.
84
+ neg: ''
85
+ seed: 42
86
+ walk_seed: true
87
+ guidance_scale: 4
88
+ sample_steps: 20
89
+ meta:
90
+ name: human_training
91
+ version: '1.0'
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9696f398989e3fa327f8ef910341e52f2e311514d30552936c9d964091c0b426
3
+ size 350203012
relax-piano.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d6f1a52578f4b0fdf84cf525daa5fdf1144c1e42a86aeaa40519f168bedc28f
3
+ size 343805392
relax-piano_000001000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28a56a9c53ec7b0ed847a8aab8b5ce56032847f2c4e6c48281465d7eab9948a8
3
+ size 343805392
relax-piano_000002000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:370c491d05cd448664c6780d873370c120c93d8955660dc038e4081704481971
3
+ size 343805392
relax-piano_000003000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79125eb2203cd4c2b56c74a72f1a4db9f7245962394709b10321960688cd0a1e
3
+ size 343805392
relax-piano_000004000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed91fcf79666441189a8f2a9999d61f173ef4eb3dea83cb6fe1bcf509af1ee7b
3
+ size 343805392
samples/.ipynb_checkpoints/1730278908459__000000000_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730278914156__000000000_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730281162808__000001000_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730281168669__000001000_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730282359520__000001500_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730282365273__000001500_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730283543052__000002000_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730284732614__000002500_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730284738347__000002500_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730285917032__000003000_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730343673227__000003500_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730343679024__000003500_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730344830043__000004000_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730344835730__000004000_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730346014448__000004500_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1730346019968__000004500_1-checkpoint.jpg ADDED
samples/1730278908459__000000000_0.jpg ADDED
samples/1730278914156__000000000_1.jpg ADDED
samples/1730280036620__000000500_0.jpg ADDED
samples/1730280042348__000000500_1.jpg ADDED
samples/1730281162808__000001000_0.jpg ADDED
samples/1730281168669__000001000_1.jpg ADDED
samples/1730282359520__000001500_0.jpg ADDED
samples/1730282365273__000001500_1.jpg ADDED
samples/1730283537325__000002000_0.jpg ADDED
samples/1730283543052__000002000_1.jpg ADDED
samples/1730284732614__000002500_0.jpg ADDED
samples/1730284738347__000002500_1.jpg ADDED
samples/1730285911310__000003000_0.jpg ADDED
samples/1730285917032__000003000_1.jpg ADDED
samples/1730343673227__000003500_0.jpg ADDED
samples/1730343679024__000003500_1.jpg ADDED
samples/1730344830043__000004000_0.jpg ADDED
samples/1730344835730__000004000_1.jpg ADDED
samples/1730346014448__000004500_0.jpg ADDED
samples/1730346019968__000004500_1.jpg ADDED
samples/1730347162944__000005000_0.jpg ADDED
samples/1730347168507__000005000_1.jpg ADDED