kucher7serg commited on
Commit
8578734
·
verified ·
1 Parent(s): d694dba

Обновление файлов

Browse files
Files changed (38) hide show
  1. .ipynb_checkpoints/README-checkpoint.md +65 -0
  2. .ipynb_checkpoints/Untitled-checkpoint.ipynb +6 -0
  3. .ipynb_checkpoints/config-checkpoint.yaml +78 -0
  4. README.md +65 -0
  5. config.yaml +78 -0
  6. in-style-of-m1nimalizm-antic.safetensors +3 -0
  7. in-style-of-m1nimalizm-antic_000000200.safetensors +3 -0
  8. in-style-of-m1nimalizm-antic_000000400.safetensors +3 -0
  9. in-style-of-m1nimalizm-antic_000000600.safetensors +3 -0
  10. in-style-of-m1nimalizm-antic_000000800.safetensors +3 -0
  11. optimizer.pt +3 -0
  12. samples/.ipynb_checkpoints/1738528867611__000000200_0-checkpoint.jpg +0 -0
  13. samples/.ipynb_checkpoints/1738528882766__000000200_1-checkpoint.jpg +0 -0
  14. samples/.ipynb_checkpoints/1738528898000__000000200_2-checkpoint.jpg +0 -0
  15. samples/.ipynb_checkpoints/1738529771838__000000400_0-checkpoint.jpg +0 -0
  16. samples/.ipynb_checkpoints/1738529787033__000000400_1-checkpoint.jpg +0 -0
  17. samples/.ipynb_checkpoints/1738529802227__000000400_2-checkpoint.jpg +0 -0
  18. samples/.ipynb_checkpoints/1738530681811__000000600_0-checkpoint.jpg +0 -0
  19. samples/.ipynb_checkpoints/1738530697098__000000600_1-checkpoint.jpg +0 -0
  20. samples/.ipynb_checkpoints/1738530712433__000000600_2-checkpoint.jpg +0 -0
  21. samples/.ipynb_checkpoints/1738531577718__000000800_0-checkpoint.jpg +0 -0
  22. samples/.ipynb_checkpoints/1738531592966__000000800_1-checkpoint.jpg +0 -0
  23. samples/.ipynb_checkpoints/1738531608198__000000800_2-checkpoint.jpg +0 -0
  24. samples/1738528867611__000000200_0.jpg +0 -0
  25. samples/1738528882766__000000200_1.jpg +0 -0
  26. samples/1738528898000__000000200_2.jpg +0 -0
  27. samples/1738529771838__000000400_0.jpg +0 -0
  28. samples/1738529787033__000000400_1.jpg +0 -0
  29. samples/1738529802227__000000400_2.jpg +0 -0
  30. samples/1738530681811__000000600_0.jpg +0 -0
  31. samples/1738530697098__000000600_1.jpg +0 -0
  32. samples/1738530712433__000000600_2.jpg +0 -0
  33. samples/1738531577718__000000800_0.jpg +0 -0
  34. samples/1738531592966__000000800_1.jpg +0 -0
  35. samples/1738531608198__000000800_2.jpg +0 -0
  36. samples/1738532481211__000001000_0.jpg +0 -0
  37. samples/1738532496384__000001000_1.jpg +0 -0
  38. samples/1738532511593__000001000_2.jpg +0 -0
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - flux
5
+ - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ - ai-toolkit
9
+ widget:
10
+ - text: 'Samurai Scene: This is an animated style scene where three samurai characters
11
+ are depicted in a traditional Japanese setting. The scene shows a little samurai
12
+ holding a sword in a defensive stance, possibly training or preparing for
13
+ a challenge. The background is filled with a variety of swords lined up, hinting
14
+ at a dojo-like atmosphere. in style of m1nimalizm_antic'
15
+ output:
16
+ url: samples/1738532481211__000001000_0.jpg
17
+ - text: 'Samurai Soldiers on Horseback: This illustration features samurai warriors
18
+ riding horses, clad in traditional armor. The samurai appear to be engaged
19
+ in some action, with one leader riding fast and others following behind. A
20
+ butterfly flying near them creates an interesting contrast, adding a peaceful
21
+ touch to the otherwise intense and combat-ready scene. in style of m1nimalizm_antic'
22
+ output:
23
+ url: samples/1738532496384__000001000_1.jpg
24
+ - text: 'Viking Boat: The fourth image shows a Viking longboat in a calm sea. The
25
+ boat''s crew, made up of several small characters, is rowing. The Viking leader,
26
+ who looks exaggeratedly muscular, stands at the front of the boat. The sky
27
+ is clear, and the overall tone of the image feels adventurous, as if it''s
28
+ part of a sea expedition. in style of m1nimalizm_antic'
29
+ output:
30
+ url: samples/1738532511593__000001000_2.jpg
31
+ base_model: black-forest-labs/FLUX.1-dev
32
+ instance_prompt: in style of m1nimalizm_antic
33
+ license: other
34
+ license_name: flux-1-dev-non-commercial-license
35
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
36
+ ---
37
+
38
+ # in-style-of-m1nimalizm-antic
39
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
40
+ <Gallery />
41
+
42
+ ## Trigger words
43
+
44
+ You should use `in style of m1nimalizm_antic` to trigger the image generation.
45
+
46
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
47
+
48
+ Weights for this model are available in Safetensors format.
49
+
50
+ [Download](/None/tree/main) them in the Files & versions tab.
51
+
52
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
53
+
54
+ ```py
55
+ from diffusers import AutoPipelineForText2Image
56
+ import torch
57
+
58
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
59
+ pipeline.load_lora_weights('None', weight_name='in-style-of-m1nimalizm-antic.safetensors')
60
+ image = pipeline('Samurai Scene: This is an animated style scene where three samurai characters are depicted in a traditional Japanese setting. The scene shows a little samurai holding a sword in a defensive stance, possibly training or preparing for a challenge. The background is filled with a variety of swords lined up, hinting at a dojo-like atmosphere. in style of m1nimalizm_antic').images[0]
61
+ image.save("my_image.png")
62
+ ```
63
+
64
+ 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)
65
+
.ipynb_checkpoints/Untitled-checkpoint.ipynb ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [],
3
+ "metadata": {},
4
+ "nbformat": 4,
5
+ "nbformat_minor": 5
6
+ }
.ipynb_checkpoints/config-checkpoint.yaml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: in-style-of-m1nimalizm-antic
4
+ process:
5
+ - type: sd_trainer
6
+ training_folder: output
7
+ device: cuda:0
8
+ network:
9
+ type: lora
10
+ linear: 16
11
+ linear_alpha: 16
12
+ save:
13
+ dtype: float16
14
+ save_every: 200
15
+ max_step_saves_to_keep: 10
16
+ push_to_hub: true
17
+ hf_private: true
18
+ datasets:
19
+ - folder_path: datasets/89e03cb7-dccf-493a-90cb-f76ae819d2ab
20
+ caption_ext: txt
21
+ caption_dropout_rate: 0.05
22
+ shuffle_tokens: false
23
+ cache_latents_to_disk: true
24
+ resolution:
25
+ - 512
26
+ - 768
27
+ - 1024
28
+ train:
29
+ batch_size: 1
30
+ steps: 1000
31
+ gradient_accumulation_steps: 1
32
+ train_unet: true
33
+ train_text_encoder: false
34
+ gradient_checkpointing: true
35
+ noise_scheduler: flowmatch
36
+ optimizer: adamw8bit
37
+ lr: 0.0004
38
+ ema_config:
39
+ use_ema: true
40
+ ema_decay: 0.99
41
+ dtype: bf16
42
+ skip_first_sample: true
43
+ disable_sampling: false
44
+ model:
45
+ name_or_path: black-forest-labs/FLUX.1-dev
46
+ is_flux: true
47
+ quantize: true
48
+ low_vram: false
49
+ sample:
50
+ sampler: flowmatch
51
+ sample_every: 200
52
+ width: 512
53
+ height: 512
54
+ prompts:
55
+ - 'Samurai Scene: This is an animated style scene where three samurai characters
56
+ are depicted in a traditional Japanese setting. The scene shows a little samurai
57
+ holding a sword in a defensive stance, possibly training or preparing for
58
+ a challenge. The background is filled with a variety of swords lined up, hinting
59
+ at a dojo-like atmosphere. in style of m1nimalizm_antic'
60
+ - 'Samurai Soldiers on Horseback: This illustration features samurai warriors
61
+ riding horses, clad in traditional armor. The samurai appear to be engaged
62
+ in some action, with one leader riding fast and others following behind. A
63
+ butterfly flying near them creates an interesting contrast, adding a peaceful
64
+ touch to the otherwise intense and combat-ready scene. in style of m1nimalizm_antic'
65
+ - 'Viking Boat: The fourth image shows a Viking longboat in a calm sea. The
66
+ boat''s crew, made up of several small characters, is rowing. The Viking leader,
67
+ who looks exaggeratedly muscular, stands at the front of the boat. The sky
68
+ is clear, and the overall tone of the image feels adventurous, as if it''s
69
+ part of a sea expedition. in style of m1nimalizm_antic'
70
+ neg: ''
71
+ seed: 42
72
+ walk_seed: true
73
+ guidance_scale: 3.5
74
+ sample_steps: 20
75
+ trigger_word: in style of m1nimalizm_antic
76
+ meta:
77
+ name: in-style-of-m1nimalizm-antic
78
+ version: '1.0'
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - flux
5
+ - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ - ai-toolkit
9
+ widget:
10
+ - text: 'Samurai Scene: This is an animated style scene where three samurai characters
11
+ are depicted in a traditional Japanese setting. The scene shows a little samurai
12
+ holding a sword in a defensive stance, possibly training or preparing for
13
+ a challenge. The background is filled with a variety of swords lined up, hinting
14
+ at a dojo-like atmosphere. in style of m1nimalizm_antic'
15
+ output:
16
+ url: samples/1738532481211__000001000_0.jpg
17
+ - text: 'Samurai Soldiers on Horseback: This illustration features samurai warriors
18
+ riding horses, clad in traditional armor. The samurai appear to be engaged
19
+ in some action, with one leader riding fast and others following behind. A
20
+ butterfly flying near them creates an interesting contrast, adding a peaceful
21
+ touch to the otherwise intense and combat-ready scene. in style of m1nimalizm_antic'
22
+ output:
23
+ url: samples/1738532496384__000001000_1.jpg
24
+ - text: 'Viking Boat: The fourth image shows a Viking longboat in a calm sea. The
25
+ boat''s crew, made up of several small characters, is rowing. The Viking leader,
26
+ who looks exaggeratedly muscular, stands at the front of the boat. The sky
27
+ is clear, and the overall tone of the image feels adventurous, as if it''s
28
+ part of a sea expedition. in style of m1nimalizm_antic'
29
+ output:
30
+ url: samples/1738532511593__000001000_2.jpg
31
+ base_model: black-forest-labs/FLUX.1-dev
32
+ instance_prompt: in style of m1nimalizm_antic
33
+ license: other
34
+ license_name: flux-1-dev-non-commercial-license
35
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
36
+ ---
37
+
38
+ # in-style-of-m1nimalizm-antic
39
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
40
+ <Gallery />
41
+
42
+ ## Trigger words
43
+
44
+ You should use `in style of m1nimalizm_antic` to trigger the image generation.
45
+
46
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
47
+
48
+ Weights for this model are available in Safetensors format.
49
+
50
+ [Download](/None/tree/main) them in the Files & versions tab.
51
+
52
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
53
+
54
+ ```py
55
+ from diffusers import AutoPipelineForText2Image
56
+ import torch
57
+
58
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
59
+ pipeline.load_lora_weights('None', weight_name='in-style-of-m1nimalizm-antic.safetensors')
60
+ image = pipeline('Samurai Scene: This is an animated style scene where three samurai characters are depicted in a traditional Japanese setting. The scene shows a little samurai holding a sword in a defensive stance, possibly training or preparing for a challenge. The background is filled with a variety of swords lined up, hinting at a dojo-like atmosphere. in style of m1nimalizm_antic').images[0]
61
+ image.save("my_image.png")
62
+ ```
63
+
64
+ 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)
65
+
config.yaml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: in-style-of-m1nimalizm-antic
4
+ process:
5
+ - type: sd_trainer
6
+ training_folder: output
7
+ device: cuda:0
8
+ network:
9
+ type: lora
10
+ linear: 16
11
+ linear_alpha: 16
12
+ save:
13
+ dtype: float16
14
+ save_every: 200
15
+ max_step_saves_to_keep: 10
16
+ push_to_hub: true
17
+ hf_private: true
18
+ datasets:
19
+ - folder_path: datasets/89e03cb7-dccf-493a-90cb-f76ae819d2ab
20
+ caption_ext: txt
21
+ caption_dropout_rate: 0.05
22
+ shuffle_tokens: false
23
+ cache_latents_to_disk: true
24
+ resolution:
25
+ - 512
26
+ - 768
27
+ - 1024
28
+ train:
29
+ batch_size: 1
30
+ steps: 1000
31
+ gradient_accumulation_steps: 1
32
+ train_unet: true
33
+ train_text_encoder: false
34
+ gradient_checkpointing: true
35
+ noise_scheduler: flowmatch
36
+ optimizer: adamw8bit
37
+ lr: 0.0004
38
+ ema_config:
39
+ use_ema: true
40
+ ema_decay: 0.99
41
+ dtype: bf16
42
+ skip_first_sample: true
43
+ disable_sampling: false
44
+ model:
45
+ name_or_path: black-forest-labs/FLUX.1-dev
46
+ is_flux: true
47
+ quantize: true
48
+ low_vram: false
49
+ sample:
50
+ sampler: flowmatch
51
+ sample_every: 200
52
+ width: 512
53
+ height: 512
54
+ prompts:
55
+ - 'Samurai Scene: This is an animated style scene where three samurai characters
56
+ are depicted in a traditional Japanese setting. The scene shows a little samurai
57
+ holding a sword in a defensive stance, possibly training or preparing for
58
+ a challenge. The background is filled with a variety of swords lined up, hinting
59
+ at a dojo-like atmosphere. in style of m1nimalizm_antic'
60
+ - 'Samurai Soldiers on Horseback: This illustration features samurai warriors
61
+ riding horses, clad in traditional armor. The samurai appear to be engaged
62
+ in some action, with one leader riding fast and others following behind. A
63
+ butterfly flying near them creates an interesting contrast, adding a peaceful
64
+ touch to the otherwise intense and combat-ready scene. in style of m1nimalizm_antic'
65
+ - 'Viking Boat: The fourth image shows a Viking longboat in a calm sea. The
66
+ boat''s crew, made up of several small characters, is rowing. The Viking leader,
67
+ who looks exaggeratedly muscular, stands at the front of the boat. The sky
68
+ is clear, and the overall tone of the image feels adventurous, as if it''s
69
+ part of a sea expedition. in style of m1nimalizm_antic'
70
+ neg: ''
71
+ seed: 42
72
+ walk_seed: true
73
+ guidance_scale: 3.5
74
+ sample_steps: 20
75
+ trigger_word: in style of m1nimalizm_antic
76
+ meta:
77
+ name: in-style-of-m1nimalizm-antic
78
+ version: '1.0'
in-style-of-m1nimalizm-antic.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d5864667e0320617fb738e1543ba7cb43a437d65fa2eb876d931f074506294f
3
+ size 171969480
in-style-of-m1nimalizm-antic_000000200.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6d0b2c95809f35a29d063d005b494daaa45b741a3a7fefbe8a510e719722012
3
+ size 171969480
in-style-of-m1nimalizm-antic_000000400.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3db4c178ee343febecb0726c73de8a7c2acfd9b6c9458c2ead74906c90f48582
3
+ size 171969480
in-style-of-m1nimalizm-antic_000000600.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5622c9605aaaf79b3fc5357f71d5e731b30076c878efeff3b5a2fc24a69796f
3
+ size 171969480
in-style-of-m1nimalizm-antic_000000800.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa9076b34c0a17316065fc8f6c167d37316b71ecfdccee0d4ca26a348da737f7
3
+ size 171969480
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8e2f92314c5bba64cb547f1cb2c24f422429f875663431e9cb57050aff55626
3
+ size 175676612
samples/.ipynb_checkpoints/1738528867611__000000200_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1738528882766__000000200_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1738528898000__000000200_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1738529771838__000000400_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1738529787033__000000400_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1738529802227__000000400_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1738530681811__000000600_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1738530697098__000000600_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1738530712433__000000600_2-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1738531577718__000000800_0-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1738531592966__000000800_1-checkpoint.jpg ADDED
samples/.ipynb_checkpoints/1738531608198__000000800_2-checkpoint.jpg ADDED
samples/1738528867611__000000200_0.jpg ADDED
samples/1738528882766__000000200_1.jpg ADDED
samples/1738528898000__000000200_2.jpg ADDED
samples/1738529771838__000000400_0.jpg ADDED
samples/1738529787033__000000400_1.jpg ADDED
samples/1738529802227__000000400_2.jpg ADDED
samples/1738530681811__000000600_0.jpg ADDED
samples/1738530697098__000000600_1.jpg ADDED
samples/1738530712433__000000600_2.jpg ADDED
samples/1738531577718__000000800_0.jpg ADDED
samples/1738531592966__000000800_1.jpg ADDED
samples/1738531608198__000000800_2.jpg ADDED
samples/1738532481211__000001000_0.jpg ADDED
samples/1738532496384__000001000_1.jpg ADDED
samples/1738532511593__000001000_2.jpg ADDED