starsfriday commited on
Commit
39fd100
·
verified ·
1 Parent(s): c92061e

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ samples/result1.png filter=lfs diff=lfs merge=lfs -text
37
+ samples/result2.png filter=lfs diff=lfs merge=lfs -text
38
+ samples/result3.png filter=lfs diff=lfs merge=lfs -text
39
+ samples/result4.png filter=lfs diff=lfs merge=lfs -text
40
+ samples/result5.png filter=lfs diff=lfs merge=lfs -text
41
+ samples/result6.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ base_model:
6
+ - black-forest-labs/FLUX.1-Kontext-dev
7
+ tags:
8
+ - image-generation
9
+ - lora
10
+ - kontext
11
+ pipeline_tag: image-to-image
12
+ library_name: diffusers
13
+ widget:
14
+ - text: turn the woman in the picture into a beautiful young woman, wearing a fairy-like long dress with white and light green interwoven, with lightly flowing sleeves, long hair like ink, adorned with delicate hair accessories, and holding a jade staff in an elegant posture. She stands in a fairyland with misty clouds, the atmosphere is beautiful and ethereal, and her eyes are clear and resolute, like a fairy in the fairyland. The overall picture is beautiful and delicate, surrounded by fairy spirit. Keep the facial features unchanged
15
+ output:
16
+ url: samples/result1.png
17
+ - text: turn the woman in the picture into a beautiful young woman, wearing a fairy-like long dress with white and light green interwoven, with lightly flowing sleeves, long hair like ink, adorned with delicate hair accessories, and holding a jade staff in an elegant posture. She stands in a fairyland with misty clouds, the atmosphere is beautiful and ethereal, and her eyes are clear and resolute, like a fairy in the fairyland. The overall picture is beautiful and delicate, surrounded by fairy spirit. Keep the facial features unchanged
18
+ output:
19
+ url: samples/result2.png
20
+ - text: turn the woman in the picture into a beautiful young woman, wearing a fairy-like long dress with white and light green interwoven, with lightly flowing sleeves, long hair like ink, adorned with delicate hair accessories, and holding a jade staff in an elegant posture. She stands in a fairyland with misty clouds, the atmosphere is beautiful and ethereal, and her eyes are clear and resolute, like a fairy in the fairyland. The overall picture is beautiful and delicate, surrounded by fairy spirit. Keep the facial features unchanged
21
+ output:
22
+ url: samples/result3.png
23
+ - text: turn the man in the picture into a handsome young man wearing a white, fairy-style robe with flowing sleeves and exquisite embroidery. His long hair is tied up high like a waterfall, and he holds a long sword in his hand, posing in a chic and majestic posture. The background is a fairyland shrouded in clouds and mist, the light and shadow are dreamy, and the temperament is extraordinary, like a sword immortal descending from the sky. The picture details are exquisite, the texture of the cloth is clear, and it is full of fairy spirit. Keep the facial features unchanged
24
+ output:
25
+ url: samples/result4.png
26
+ - text: turn the man in the picture into a handsome young man wearing a white, fairy-style robe with flowing sleeves and exquisite embroidery. His long hair is tied up high like a waterfall, and he holds a long sword in his hand, posing in a chic and majestic posture. The background is a fairyland shrouded in clouds and mist, the light and shadow are dreamy, and the temperament is extraordinary, like a sword immortal descending from the sky. The picture details are exquisite, the texture of the cloth is clear, and it is full of fairy spirit. Keep the facial features unchanged
27
+ output:
28
+ url: samples/result5.png
29
+ - text: turn the man in the picture into a handsome young man wearing a white, fairy-style robe with flowing sleeves and exquisite embroidery. His long hair is tied up high like a waterfall, and he holds a long sword in his hand, posing in a chic and majestic posture. The background is a fairyland shrouded in clouds and mist, the light and shadow are dreamy, and the temperament is extraordinary, like a sword immortal descending from the sky. The picture details are exquisite, the texture of the cloth is clear, and it is full of fairy spirit. Keep the facial features unchanged
30
+ output:
31
+ url: samples/result6.png
32
+ ---
33
+ # starsfriday Kontext Dev LoRA
34
+
35
+ <Gallery />
36
+
37
+ ## Model Card for Model ID
38
+
39
+ <!-- Provide a quick summary of what the model is/does. -->
40
+
41
+ This is a model for style transfer, trained on ```black-forest-labs/FLUX.1-Kontext-dev```, and it is mainly used to generate male and female costumes in the ancient Chinese immortal and martial arts world, allowing people to become immortal cultivators with just one click.For use in ```ComfyUI```.
42
+
43
+
44
+ ## Model description
45
+
46
+
47
+ ## Trigger phrase
48
+
49
+ ```turn the man in the picture into a handsome young man wearing a white, fairy-style robe with flowing sleeves and exquisite embroidery. His long hair is tied up high like a waterfall, and he holds a long sword in his hand, posing in a chic and majestic posture. The background is a fairyland shrouded in clouds and mist, the light and shadow are dreamy, and the temperament is extraordinary, like a sword immortal descending from the sky. The picture details are exquisite, the texture of the cloth is clear, and it is full of fairy spirit. Keep the facial features unchanged```
50
+
51
+
52
+ ## Download model
53
+
54
+ Weights for this model are available in Safetensors format.
55
+
56
+ [Download](https://huggingface.co/starsfridayKontext-Tim-Burton-LoRA)
57
+
58
+ ## Training at Chongqing Valiant Cat
59
+
60
+ This model was trained by the AI Laboratory of Chongqing Valiant Cat Technology Co., LTD(```https://vvicat.com/```).Business cooperation is welcome
config.yaml ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: kontext_xianxia
4
+ process:
5
+ - type: sd_trainer
6
+ training_folder: output
7
+ device: cuda:0
8
+ network:
9
+ type: lora
10
+ linear: 64
11
+ linear_alpha: 64
12
+ save:
13
+ dtype: float16
14
+ save_every: 250
15
+ max_step_saves_to_keep: 20
16
+ push_to_hub: false
17
+ datasets:
18
+ - folder_path: datasets/xianxia_train/images
19
+ control_path: datasets/xianxia_train/controls
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: 6000
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.0001
38
+ timestep_type: weighted
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-Kontext-dev
45
+ arch: flux_kontext
46
+ quantize: true
47
+ sample:
48
+ sampler: flowmatch
49
+ sample_every: 250
50
+ width: 1024
51
+ height: 1024
52
+ prompts:
53
+ - turn the woman in the picture into a beautiful young woman, wearing a fairy-like
54
+ long dress with white and light green interwoven, with lightly flowing sleeves,
55
+ long hair like ink, adorned with delicate hair accessories, and holding a
56
+ jade staff in an elegant posture. She stands in a fairyland with misty clouds,
57
+ the atmosphere is beautiful and ethereal, and her eyes are clear and resolute,
58
+ like a fairy in the fairyland. The overall picture is beautiful and delicate,
59
+ surrounded by fairy spirit. Keep the facial features unchanged. --ctrl_img
60
+ datasets/xianxia_train/controls/object_02.png
61
+ - turn the man in the picture into a handsome young man wearing a white, fairy-style
62
+ robe with flowing sleeves and exquisite embroidery. His long hair is tied
63
+ up high like a waterfall, and he holds a long sword in his hand, posing in
64
+ a chic and majestic posture. The background is a fairyland shrouded in clouds
65
+ and mist, the light and shadow are dreamy, and the temperament is extraordinary,
66
+ like a sword immortal descending from the sky. The picture details are exquisite,
67
+ the texture of the cloth is clear, and it is full of fairy spirit. Keep the
68
+ facial features unchanged. She stands in a fairyland with misty clouds, the
69
+ atmosphere is beautiful and ethereal, and her eyes are clear and resolute,
70
+ like a fairy in the fairyland. The overall picture is beautiful and delicate,
71
+ surrounded by fairy spirit. Keep the facial features unchanged. --ctrl_img
72
+ datasets/xianxia_train/controls/object_33.png
73
+ neg: ''
74
+ seed: 42
75
+ walk_seed: true
76
+ guidance_scale: 4
77
+ sample_steps: 20
78
+ meta:
79
+ name: kontext_xianxia
80
+ version: '1.0'
kontext_xianxia.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c28e790e43b7334f3b560f959b37227bf6da2a727af63d5271d4f10426149cb5
3
+ size 687476512
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bd4ee58ad25679e869c23000364db1544b280f0ffae86edd1d59f42318db9c7
3
+ size 699243652
samples/result1.png ADDED

Git LFS Details

  • SHA256: a64ff50c18459a0137d64c39209fa54ef7167fd825564742350382c1885aeb1f
  • Pointer size: 132 Bytes
  • Size of remote file: 3.35 MB
samples/result2.png ADDED

Git LFS Details

  • SHA256: 92b375847db820e704b10f77f4f1300ada06bb69f45b5fcf842b96ff0ec2d0b0
  • Pointer size: 132 Bytes
  • Size of remote file: 2.82 MB
samples/result3.png ADDED

Git LFS Details

  • SHA256: 6e6da62e417afb1d0b301e3c8618b5ec1844e4a2d2882a96e6418aefe77c082e
  • Pointer size: 132 Bytes
  • Size of remote file: 3.48 MB
samples/result4.png ADDED

Git LFS Details

  • SHA256: 69cb9448d961cea1798378959f38372b7b2250adebea372a34cc502bcb7d9a5c
  • Pointer size: 132 Bytes
  • Size of remote file: 3.09 MB
samples/result5.png ADDED

Git LFS Details

  • SHA256: fc5e25afd726c9a58d895a304e680c4ef834343c5d5ca359fb6fa7714edb7cc0
  • Pointer size: 132 Bytes
  • Size of remote file: 3.31 MB
samples/result6.png ADDED

Git LFS Details

  • SHA256: cf728e1fad373cee2045f578aa26916acb7e5cae35d663a74afa688ce57cb8e9
  • Pointer size: 132 Bytes
  • Size of remote file: 3.24 MB