thezet commited on
Commit
248c878
·
verified ·
1 Parent(s): 159a87f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +85 -181
README.md CHANGED
@@ -1,202 +1,106 @@
1
  ---
2
- base_model:
3
- - black-forest-labs/FLUX.1-dev
4
- license: other
5
  tags:
6
- - template:sd-lora
 
7
  - lora
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ---
9
- # Model Card for Model ID
10
-
11
- <!-- Provide a quick summary of what the model is/does. -->
12
-
13
- This modelcard aims to be a base template for new models. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1).
14
-
15
- ## Model Details
16
-
17
- ### Model Description
18
-
19
- <!-- Provide a longer summary of what this model is. -->
20
-
21
-
22
-
23
- - **Developed by:** [More Information Needed]
24
- - **Funded by [optional]:** [More Information Needed]
25
- - **Shared by [optional]:** [More Information Needed]
26
- - **Model type:** [More Information Needed]
27
- - **Language(s) (NLP):** [More Information Needed]
28
- - **License:** [More Information Needed]
29
- - **Finetuned from model [optional]:** [More Information Needed]
30
-
31
- ### Model Sources [optional]
32
-
33
- <!-- Provide the basic links for the model. -->
34
-
35
- - **Repository:** [More Information Needed]
36
- - **Paper [optional]:** [More Information Needed]
37
- - **Demo [optional]:** [More Information Needed]
38
-
39
- ## Uses
40
-
41
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
42
-
43
- ### Direct Use
44
-
45
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
46
-
47
- [More Information Needed]
48
-
49
- ### Downstream Use [optional]
50
-
51
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
52
-
53
- [More Information Needed]
54
-
55
- ### Out-of-Scope Use
56
-
57
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
58
-
59
- [More Information Needed]
60
-
61
- ## Bias, Risks, and Limitations
62
-
63
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
64
-
65
- [More Information Needed]
66
-
67
- ### Recommendations
68
-
69
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
70
-
71
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
72
-
73
- ## How to Get Started with the Model
74
-
75
- Use the code below to get started with the model.
76
-
77
- [More Information Needed]
78
-
79
- ## Training Details
80
-
81
- ### Training Data
82
-
83
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
84
-
85
- [More Information Needed]
86
-
87
- ### Training Procedure
88
-
89
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
90
-
91
- #### Preprocessing [optional]
92
-
93
- [More Information Needed]
94
-
95
-
96
- #### Training Hyperparameters
97
-
98
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
99
-
100
- #### Speeds, Sizes, Times [optional]
101
-
102
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
103
-
104
- [More Information Needed]
105
-
106
- ## Evaluation
107
-
108
- <!-- This section describes the evaluation protocols and provides the results. -->
109
-
110
- ### Testing Data, Factors & Metrics
111
-
112
- #### Testing Data
113
-
114
- <!-- This should link to a Dataset Card if possible. -->
115
-
116
- [More Information Needed]
117
-
118
- #### Factors
119
-
120
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
121
-
122
- [More Information Needed]
123
-
124
- #### Metrics
125
-
126
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
127
-
128
- [More Information Needed]
129
-
130
- ### Results
131
-
132
- [More Information Needed]
133
-
134
- #### Summary
135
-
136
-
137
-
138
- ## Model Examination [optional]
139
-
140
- <!-- Relevant interpretability work for the model goes here -->
141
-
142
- [More Information Needed]
143
-
144
- ## Environmental Impact
145
-
146
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
147
-
148
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
149
-
150
- - **Hardware Type:** [More Information Needed]
151
- - **Hours used:** [More Information Needed]
152
- - **Cloud Provider:** [More Information Needed]
153
- - **Compute Region:** [More Information Needed]
154
- - **Carbon Emitted:** [More Information Needed]
155
-
156
- ## Technical Specifications [optional]
157
-
158
- ### Model Architecture and Objective
159
-
160
- [More Information Needed]
161
-
162
- ### Compute Infrastructure
163
-
164
- [More Information Needed]
165
-
166
- #### Hardware
167
-
168
- [More Information Needed]
169
 
170
- #### Software
171
 
172
- [More Information Needed]
173
 
174
- ## Citation [optional]
175
 
176
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
177
 
178
- **BibTeX:**
179
 
180
- [More Information Needed]
181
 
182
- **APA:**
183
 
184
- [More Information Needed]
185
 
186
- ## Glossary [optional]
187
 
188
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
189
 
190
- [More Information Needed]
191
 
192
- ## More Information [optional]
193
 
194
- [More Information Needed]
195
 
196
- ## Model Card Authors [optional]
197
 
198
- [More Information Needed]
199
 
200
- ## Model Card Contact
201
 
202
- [More Information Needed]
 
1
  ---
 
 
 
2
  tags:
3
+ - text-to-image
4
+ - stable-diffusion
5
  - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ widget:
9
+ - text: >-
10
+ c0m1c style vintage comic cover of a psychic woman sitting at a covered red
11
+ table, in a haunting manor scene, the illustration style is macabre,
12
+ candles in the bacground over a mantle, the psychic is hovering her hands
13
+ over a purple crystal ball. Title test reads "Tales from the Flux" in an
14
+ eerie type face. In the lower corner show a price of 15 cents and the date
15
+ SEP 2024
16
+ output:
17
+ url: images/ComfyUI_09868_.png
18
+ - text: >-
19
+ c0m1c style vintage 1930s style comic strip panel of a rich old man wearing
20
+ a top hat and dapper suit deep in thought, thinking with a thought bubble
21
+ that reads "No FLUX were given?"
22
+ output:
23
+ url: images/ComfyUI_temp_ipugi_00131_.png
24
+ - text: >-
25
+ c0m1c style comic book strip panel of two men having a staring contest in a
26
+ bar, pop art style, with the thought bubble sayings "Blink." and "You
27
+ first."
28
+ output:
29
+ url: images/ComfyUI_temp_ipugi_00079_.png
30
+ - text: >-
31
+ c0m1c style comic book strip panel of a glam 1980s superhero woman, with the
32
+ speech bubble saying "My spirit animal is a WiFi symbol!" purple wifi icon
33
+ on her chest
34
+ output:
35
+ url: images/ComfyUI_temp_ipugi_00071_.png
36
+ - text: >-
37
+ c0m1c style comic book strip 2 panels of a woman laughing hysterically,
38
+ 1950s living room. In the first panel one speech bubble "And then he said he
39
+ uses SD3!" over the head of a woman telling her friends a funny joke In
40
+ the second panel there are multiple speech bubbles over each woman's head
41
+ with the words "HAHA" in various ways, their heads are tilted back in heavy
42
+ laughter.
43
+ output:
44
+ url: images/ComfyUI_temp_ipugi_00085_.png
45
+ - text: >-
46
+ c0m1c style comic book strip panel of a woman in her living room glam style,
47
+ with the speech bubble saying "There's no place like latent space."
48
+ everything is pink including her dress
49
+ output:
50
+ url: images/ComfyUI_temp_ipugi_00076_.png
51
+ - text: >-
52
+ c0m1c style comic book strip panel of a superhero, with the speech bubble
53
+ saying "I am Captain Flux!" with a big black F emblem on his chest
54
+ output:
55
+ url: images/ComfyUI_temp_ipugi_00068_.png
56
+ - text: >-
57
+ c0m1c style comic strip panel of a pop art woman fashion model, side
58
+ profile, speech above says "OH FLUX!"
59
+ output:
60
+ url: images/ComfyUI_temp_ipugi_00040_.png
61
+ - text: >-
62
+ c0m1c style woman with red hair in a laundry room, vintage illustrated ad
63
+ for laundry detergent the brand name is FLUX in orange letters the
64
+ pre-heading above the logo reads "Where clean clothes meet clean pixels."
65
+ The woman is holding a laundry baskest with folded clothes and smiling in
66
+ bliss.
67
+ output:
68
+ url: images/ComfyUI_09863_.png
69
+ base_model: black-forest-labs/FLUX.1-dev
70
+ instance_prompt: c0m1c, comic book panel
71
+ license: creativeml-openrail-m
72
  ---
73
+ # Retro Comic Flux
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
 
75
+ <Gallery />
76
 
77
+ ## Model description
78
 
79
+ Retro Comic Flux is a Flux LoRA trained on a dataset consisting entirely of public domain images manually sourced, cropped and enhanced. I used ~50 images 3 repeats 15 epochs and 0.0001 learning rate. These were all captioned using Joy Caption Batch.
80
 
81
+ This is very experimental and I had a difficult time sourcing high quality images of animals and vehicles in this style, so for now it&#39;s primarily good with human figures. It work best when you describe the character and a scene for a backdrop. It struggles with hands and eyes sometimes. If something is really not in the dataset it defaults to an ordinary AI illustration style.
82
 
83
+ USE DEIS SAMPLER FOR THE BEST RESULTS.
84
 
85
+ I used very similar settings as I have with my previous LoRAs so I won&#39;t go into detail for the sake of my time and brevity, low learning rates with less repeats and good data work best for simple styles.
86
 
87
+ I was careful in my selection of images and preprocessed each image in Photoshop to bring out vivid colors, reduce the yellowing and boost contrast. This helped me to maintain a consistent coloring and I believe it improved the training quality. When I did this I also removed the speech from speech bubbles from some of the training data for more flexibility and to help Flux understand context. You can explicitly state &quot;empty speech bubble&quot; in your prompts and it tends to work. If you want to dive in deeper try using an image captioner to describe a style you want to emulate, the images have rich captions and the model responds well to natural language.
88
 
89
+ Definitely expect a V2 of this LoRA soon, I have some ideas on how I can improve consistency but I need to find more varied source images.
90
 
91
+ Trigger keyword: &#39;c0m1c&#39; &#39;comic book panel&#39;
92
 
93
+ Recommended strengths: 0.7 - 0.9
94
 
95
+ ## Trigger words
96
 
97
+ You should use `Ce` to trigger the image generation.
98
 
99
+ You should use `comic book panel` to trigger the image generation.
100
 
 
101
 
102
+ ## Download model
103
 
104
+ Weights for this model are available in Safetensors format.
105
 
106
+ [Download](/renderartist/retrocomicflux/tree/main) them in the Files & versions tab.