starsfriday commited on
Commit
19f9193
·
verified ·
1 Parent(s): d30afa6

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ 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
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 image into the miniature scene, sculptors are carving giant sculptures
15
+ of Q-version characters uploaded from pictures,3D cartoon Q version scene illustration.
16
+ output:
17
+ url: samples/result1.png
18
+ - text: turn the image into the miniature scene, sculptors are carving giant sculptures
19
+ of Q-version characters uploaded from pictures,3D cartoon Q version scene illustration.
20
+ output:
21
+ url: samples/result2.png
22
+ - text: turn the image into the miniature scene, sculptors are carving giant sculptures
23
+ of Q-version characters uploaded from pictures,3D cartoon Q version scene illustration.
24
+ output:
25
+ url: samples/result3.png
26
+ ---
27
+ # starsfriday Kontext Dev LoRA
28
+
29
+ <Gallery />
30
+
31
+ ## Model Card for Model ID
32
+
33
+ <!-- Provide a quick summary of what the model is/does. -->
34
+
35
+ This is a model for style transfer, trained on ```black-forest-labs/FLUX.1-Kontext-dev```, and it is mainly used to generate many little sculptors sculpting the scenes after the characters in this uploaded picture are animated.For use in ```ComfyUI```.
36
+
37
+
38
+ ## Model description
39
+
40
+
41
+ ## Trigger phrase
42
+
43
+ ```turn the image into the miniature scene, sculptors are carving giant sculptures
44
+ of Q-version characters uploaded from pictures,3D cartoon Q version scene illustration.
45
+ ```
46
+
47
+
48
+ ## Download model
49
+
50
+ Weights for this model are available in Safetensors format.
51
+
52
+ [Download](https://huggingface.co/starsfriday/Kontext-Sculptor-LoRA)
53
+
54
+ ## Training at Chongqing Valiant Cat
55
+
56
+ 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,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: kontext_diaosu
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: 250
15
+ max_step_saves_to_keep: 4
16
+ push_to_hub: false
17
+ datasets:
18
+ - folder_path: datasets/diaosu_training/images
19
+ control_path: datasets/diaosu_training/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: 4000
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
+ dtype: bf16
40
+ model:
41
+ name_or_path: black-forest-labs/FLUX.1-Kontext-dev
42
+ arch: flux_kontext
43
+ quantize: true
44
+ sample:
45
+ sampler: flowmatch
46
+ sample_every: 250
47
+ width: 1024
48
+ height: 1024
49
+ prompts:
50
+ - turn the image into the miniature scene, sculptors are carving giant sculptures
51
+ of Q-version characters uploaded from pictures,3D cartoon Q version scene
52
+ illustration. --ctrl_img datasets/diaosu_training/controls/object_01.png
53
+ neg: ''
54
+ seed: 42
55
+ walk_seed: true
56
+ guidance_scale: 4
57
+ sample_steps: 20
58
+ meta:
59
+ name: kontext_diaosu
60
+ version: '1.0'
kontext_diaosu.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19cb9cb9b7345781534c1a2a6dbab42d2e642832c36182fbe23f1e75a1a2e302
3
+ size 171969360
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5571b79c382702ed3258e1f81ce60d074622a0f971c1cd2bf7479fe437d347e
3
+ size 175676612
samples/result1.png ADDED

Git LFS Details

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

Git LFS Details

  • SHA256: 77fc2f9fed60e70b987e0931e62af8e23fef7ab97ee59796730ea7c9bfb34993
  • Pointer size: 132 Bytes
  • Size of remote file: 4.23 MB
samples/result3.png ADDED

Git LFS Details

  • SHA256: 78a0d03cff432b1420ec2b0dc5bbe702fa4bc1b96a1bef4051b04d6c3cd40a90
  • Pointer size: 132 Bytes
  • Size of remote file: 3.21 MB