File size: 25,977 Bytes
938e8ea 8e51b8b 938e8ea 8e51b8b 938e8ea 76fc8c9 70be781 938e8ea 377bef9 938e8ea 5c17495 938e8ea 70be781 938e8ea 0b74772 938e8ea 377bef9 938e8ea 70be781 938e8ea 70be781 938e8ea 377bef9 938e8ea 377bef9 938e8ea 377bef9 938e8ea 5c17495 938e8ea 0b74772 938e8ea 5c17495 938e8ea 4965026 938e8ea 377bef9 938e8ea 70be781 938e8ea 377bef9 938e8ea 70be781 938e8ea 70be781 938e8ea 70be781 938e8ea 377bef9 938e8ea 377bef9 938e8ea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 |
---
license: other
base_model: "FLUX.1-dev"
tags:
- flux
- flux-diffusers
- text-to-image
- diffusers
- simpletuner
- not-for-all-audiences
- lora
- template:sd-lora
- lycoris
inference: true
widget:
- text: 'unconditional (blank prompt)'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_0_0.png
- text: 'mnmlssmo architecture photography style, dsycam, The image shows the interior of a store with a modern and minimalist design. The walls are covered in gray tiles and the floor is made of concrete. On the left side of the image, there is a wooden counter with a white sink and a wooden cabinet.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_1_0.png
- text: 'mnmlssmo architecture photography style, dsycam, The image shows a modern bathroom with a minimalist design. The walls are painted in a light grey color and the floor is made of dark wood. On the left side of the image, there is a large rectangular countertop with a white countertop and a gold-colored faucet.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_2_0.png
- text: 'mnmlssmo architecture photography style, dsycam, The image shows an empty room with a large window on the left side, allowing natural light to enter the space. The room has a concrete floor and walls, and the ceiling is made of concrete. On the right side of the room, there is a white desk with a lamp on it.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_3_0.png
- text: 'mnmlssmo architecture photography style, dsycam, The image shows the interior of a store with a modern and minimalist design. The walls are covered in a gray textured wallpaper with a subtle pattern of small squares and rectangles. On the left side of the image, there is a wooden shelf with multiple shelves filled with small boxes of different sizes and colors.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_4_0.png
- text: 'mnmlssmo art photography style, dsycam, The image is a black and white photograph of an empty room with a white wall and floor. In the center of the image, and the floor is made of concrete., glossy surface. The background is plain white, rectangular frame with a smooth, there is a rectangular white panel hanging on the wall. The panel appears to be made of a thin'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_5_0.png
- text: 'mnmlssmo art photography style, dsycam, The image shows an empty white room with six black frames hanging on the wall. The frames are arranged in a row and are of different sizes and shapes. The room has a high ceiling with white walls and flooring, and the floor is made of white tiles.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_6_0.png
- text: 'mnmlssmo art photography style, dsycam, The image shows an empty room with white walls and floor. The room has a high ceiling with recessed lighting and a white floor. On the left side of the room, one on the right side and one in the center. The panels are blank, there are two large white panels hanging on the wall, with no other objects or decorations visible.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_7_0.png
- text: 'mnmlssmo art photography style, dsycam, The image shows an empty room with white walls and floor. The room has a high ceiling with recessed lighting and white walls. On the right side of the room, there are several black and white photographs hanging on the wall. The photographs are arranged in a grid-like pattern, with each photograph hanging from a black pole.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_8_0.png
- text: 'mnmlssmo furniture photography style, dsycam, The image shows a pair of wooden chairs in an empty room with white walls and floor. The chairs are made of light-colored wood and have a simple, minimalist design. They have a curved backrest and armrests, and the legs are slightly tapered and tapered.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_9_0.png
- text: 'mnmlssmo furniture photography style, dsycam, The image shows a modern wooden chair and a small table in a room with white walls and floor. The chair is made of light-colored wood and has a simple design with a curved backrest and armrests. It has a light pink cushion on the left side and a wooden frame with four legs.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_10_0.png
- text: 'mnmlssmo furniture photography style, dsycam, The image shows two wooden chairs in a white room with a white wall in the background. The chairs are made of light-colored wood and have a modern design with a curved backrest and armrests. The seat and backrests are upholstered in a soft pink fabric, and the legs are slightly tapered and tapered.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_11_0.png
- text: 'mnmlssmo furniture photography style, dsycam, The image shows a wooden shelf attached to a white wall in an empty room. The shelf is made of a light-colored wood and has a rectangular shape with a flat top and a flat bottom. It appears to be made of plywood or a similar material, possibly plywood, and is attached to the wall with screws or nails.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_12_0.png
- text: 'mnmlssmo homewares photography style, dsycam, The image shows a small glass dropper bottle with a black dropper cap and a white box with the brand name "Zuri" written on it. The bottle is placed next to the box, which is also white and has a label on it that reads "Aroma Zuri". The background is plain white.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_13_0.png
- text: 'mnmlssmo homewares photography style, dsycam, The image shows a modern and minimalistic interior design of a room with a wooden chair in the center. The chair is made of light-colored wood and has a curved backrest and armrests. It is placed against a gray wall with a white shelf on the right side.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_14_0.png
- text: 'mnmlssmo homewares photography style, dsycam, The image is a photograph of a dropper bottle with a black cap and a white label. The label has the brand name "Art/Aroma" written in bold black letters at the top, followed by the word "Illuminate" in smaller black letters.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_15_0.png
- text: 'mnmlssmo homewares photography style, dsycam, The image is a 3D rendering of a tall, rectangular object with a white background. It appears to be made of a thin, white material, possibly paper or cardboard, and is standing upright on a plain white surface. The object has a vertical shape with a flat top and a flat bottom.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_16_0.png
- text: 'mnmlssmo interiors photography style, dsycam, The image shows a modern and minimalist bedroom with a large bed in the center. The bed has a gray headboard and a white bedspread with two white pillows on top. The headboard is upholstered in a dark grey fabric and has a tufted design.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_17_0.png
- text: 'mnmlssmo interiors photography style, dsycam, The image is of a modern and minimalist bathroom with a minimalist design. The bathroom has a white color scheme with black and white accents. The floor is made of marble tiles and the walls are covered in white tiles. On the left side of the image, there is a large glass shower enclosure with a glass door that leads to a walk-in shower.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_18_0.png
- text: 'mnmlssmo interiors photography style, dsycam, The image shows a modern and minimalist living room with a large window on the left side. The window has a sliding glass door that leads to a balcony with a view of trees and greenery outside. The room has white walls and flooring, and there is a large gray sofa in the center of the room.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_19_0.png
- text: 'mnmlssmo interiors photography style, dsycam, The image shows a modern living room with a large window on the left side. The window has a view of the countryside and the sky. On the right side of the room, there is a large gray sectional sofa with a black floor lamp on top. The sofa is placed in front of a fireplace with a white marble surround.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_20_0.png
- text: 'mnmlssmo lights photography style, dsycam, The image is a black and white photograph of a modern floor lamp. The lamp has a curved, curved shape with a white base and a black wire extending from the top to the bottom. The base of the lamp is made of a smooth, glossy material and has a small, round light bulb attached to it.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_21_0.png
- text: 'mnmlssmo lights photography style, dsycam, The image is a 3D rendering of a modern, minimalist table lamp. The lamp is made of a white, cylindrical material with a round base and a tall, slender stem. The base is also white and has a smooth, flat surface. The top of the lamp has a curved, oval-shaped shade that extends upwards towards the ceiling.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_22_0.png
- text: 'mnmlssmo lights photography style, dsycam, The image shows a white wall with a white tiled wall and a white shelf attached to it. The shelf is made up of small square tiles arranged in a grid-like pattern, with a silver metal frame on the right side. On the left side of the shelf, there is a small white wall sconce with a gold-colored metal bracket.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_23_0.png
- text: 'mnmlssmo lights photography style, dsycam, The image is a black and white abstract photograph of a curved surface. The surface appears to be made of a smooth, glossy material, possibly paper or fabric, and is a light grey color. The background is a solid white color, and the image is taken from a slightly angled perspective, creating a sense of depth and dimension.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_24_0.png
- text: 'mnmlssmo mood photography style, dsycam, The image shows a modern, minimalist white house with a large garage door on the left side. The house is located on a street with a clear blue sky in the background. The garage door is closed and has a wooden door in the center.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_25_0.png
- text: 'mnmlssmo mood photography style, dsycam, The image shows a modern two-story building with a unique architectural design. The building is made of concrete and has a black exterior with a triangular shape. The exterior of the building is covered with large windows and a large glass window on the second floor.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_26_0.png
- text: 'mnmlssmo mood photography style, dsycam, The image shows a modern bathroom sink with a white countertop and a round white vessel sink. The sink is placed on a gray countertop with a gray marble countertop. Above the sink, there is a large rectangular mirror hanging on the wall with a black frame. The mirror is made of a light grey material and has a textured surface.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_27_0.png
- text: 'mnmlssmo mood photography style, dsycam, The image is a black and white photograph of a modern interior space with concrete walls and flooring. The room has a high ceiling with exposed pipes and a large window on the right side, allowing natural light to enter the space. On the left side of the image, there is a long, rectangular table with a black bench in front of it.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_28_0.png
- text: 'mnmlssmo technology photography style, dsycam, The image shows a young man sitting on a wooden chair with his arms crossed. He is wearing a light green long-sleeved t-shirt and a pair of sunglasses. His hair is styled in a short, slicked-back cut and he is looking off to the side with a serious expression on his face.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_29_0.png
- text: 'mnmlssmo technology photography style, dsycam, The image is a 3D rendering of a modern, minimalist device with a white color scheme. It appears to be a small, rectangular box-like structure with a rectangular base and a rectangular top. The top of the box is covered in small, square-shaped panels with a grid-like pattern.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_30_0.png
- text: 'mnmlssmo technology photography style, dsycam, The image shows a pair of black-framed eyeglasses resting on a white circular surface. The glasses have a sleek and modern design with a thin metal frame and a black bridge. The arms of the glasses are curved and have a simple, minimalist look. The lenses are round and appear to be made of clear glass.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_31_0.png
- text: 'mnmlssmo technology photography style, dsycam, The image is a close-up portrait of a young African-American woman wearing a pair of black-framed glasses. She is facing the camera with a serious expression on her face. Her hair is styled in a sleek updo and she is wearing a beige top.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_32_0.png
- text: 'mnmlssmo wearables photography style, dsycam, The image is a close-up of a wristwatch with a square-shaped face. The watch has a black strap with a silver buckle on the right side. The face of the watch is white with black numbers and hands, and there is a small black hour hand at the 3 o''clock position.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_33_0.png
- text: 'mnmlssmo wearables photography style, dsycam, The image is a close-up of a wristwatch with a black strap. The watch has a unique design with a hexagonal shape and a silver-colored dial. The dial has a circular shape with a spiral design in the center, which appears to be a mechanical movement.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_34_0.png
- text: 'mnmlssmo wearables photography style, dsycam, The image shows an aerial view of a large swimming pool on a rocky cliff overlooking the ocean. The pool is rectangular in shape and has a blue-green color. There are several people in the pool, some of whom are swimming and some are sitting on the beach. The water is crystal clear and the rocks around the pool are jagged and rocky.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_35_0.png
- text: 'mnmlssmo wearables photography style, dsycam, The image is a digital illustration of a wristwatch with a black strap. The watch face is square in shape and has a white background with black numbers and hands. The hands of the watch are black and the numbers are in a modern, minimalist design.'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_36_0.png
- text: 'a photo of a daisy'
parameters:
negative_prompt: 'blurry, cropped, ugly'
output:
url: ./assets/image_37_0.png
---
# growwithdaisy/dsycam_20241115_133438
This is a LyCORIS adapter derived from [FLUX.1-dev](https://huggingface.co/FLUX.1-dev).
The main validation prompt used during training was:
```
a photo of a daisy
```
## Validation settings
- CFG: `3.5`
- CFG Rescale: `0.0`
- Steps: `20`
- Sampler: `None`
- Seed: `69`
- Resolution: `1024x1024`
Note: The validation settings are not necessarily the same as the [training settings](#training-settings).
You can find some example images in the following gallery:
<Gallery />
The text encoder **was not** trained.
You may reuse the base model text encoder for inference.
## Training settings
- Training epochs: 2
- Training steps: 10000
- Learning rate: 0.0001
- Max grad norm: 2.0
- Effective batch size: 16
- Micro-batch size: 2
- Gradient accumulation steps: 1
- Number of GPUs: 8
- Prediction type: flow-matching (extra parameters=['shift=3', 'flux_guidance_value=1.0'])
- Rescaled betas zero SNR: False
- Optimizer: optimi-stableadamwweight_decay=1e-3
- Precision: Pure BF16
- Quantised: No
- Xformers: Not used
- LyCORIS Config:
```json
{
"algo": "lokr",
"multiplier": 1,
"linear_dim": 1000000,
"linear_alpha": 1,
"factor": 12,
"init_lokr_norm": 0.001,
"apply_preset": {
"target_module": [
"FluxTransformerBlock",
"FluxSingleTransformerBlock"
],
"module_algo_map": {
"Attention": {
"factor": 12
},
"FeedForward": {
"factor": 6
}
}
}
}
```
## Datasets
### mnmlsmo_architecture_photography_style-512
- Repeats: 0
- Total number of images: ~10456
- Total number of aspect buckets: 2
- Resolution: 0.262144 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_architecture_photography_style-768
- Repeats: 0
- Total number of images: ~9000
- Total number of aspect buckets: 2
- Resolution: 0.589824 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_architecture_photography_style-1024
- Repeats: 2
- Total number of images: ~3960
- Total number of aspect buckets: 4
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_art_photography_style-512
- Repeats: 0
- Total number of images: ~448
- Total number of aspect buckets: 3
- Resolution: 0.262144 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_art_photography_style-768
- Repeats: 0
- Total number of images: ~416
- Total number of aspect buckets: 3
- Resolution: 0.589824 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_art_photography_style-1024
- Repeats: 1
- Total number of images: ~232
- Total number of aspect buckets: 2
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_furniture_photography_style-512
- Repeats: 0
- Total number of images: ~3888
- Total number of aspect buckets: 2
- Resolution: 0.262144 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_furniture_photography_style-768
- Repeats: 0
- Total number of images: ~3352
- Total number of aspect buckets: 2
- Resolution: 0.589824 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_furniture_photography_style-1024
- Repeats: 1
- Total number of images: ~1728
- Total number of aspect buckets: 2
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_homewares_photography_style-512
- Repeats: 0
- Total number of images: ~1096
- Total number of aspect buckets: 2
- Resolution: 0.262144 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_homewares_photography_style-768
- Repeats: 0
- Total number of images: ~1072
- Total number of aspect buckets: 3
- Resolution: 0.589824 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_homewares_photography_style-1024
- Repeats: 1
- Total number of images: ~520
- Total number of aspect buckets: 2
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_interiors_photography_style-512
- Repeats: 0
- Total number of images: ~1336
- Total number of aspect buckets: 2
- Resolution: 0.262144 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_interiors_photography_style-768
- Repeats: 0
- Total number of images: ~1312
- Total number of aspect buckets: 2
- Resolution: 0.589824 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_interiors_photography_style-1024
- Repeats: 1
- Total number of images: ~800
- Total number of aspect buckets: 1
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_lighting_photography_style-512
- Repeats: 0
- Total number of images: ~504
- Total number of aspect buckets: 2
- Resolution: 0.262144 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_lighting_photography_style-768
- Repeats: 0
- Total number of images: ~504
- Total number of aspect buckets: 2
- Resolution: 0.589824 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_lighting_photography_style-1024
- Repeats: 0
- Total number of images: ~320
- Total number of aspect buckets: 1
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_moods_photography_style-512
- Repeats: 0
- Total number of images: ~680
- Total number of aspect buckets: 3
- Resolution: 0.262144 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_moods_photography_style-768
- Repeats: 0
- Total number of images: ~680
- Total number of aspect buckets: 3
- Resolution: 0.589824 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_moods_photography_style-1024
- Repeats: 1
- Total number of images: ~352
- Total number of aspect buckets: 2
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_technology_photography_style-512
- Repeats: 0
- Total number of images: ~680
- Total number of aspect buckets: 2
- Resolution: 0.262144 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_technology_photography_style-768
- Repeats: 0
- Total number of images: ~680
- Total number of aspect buckets: 2
- Resolution: 0.589824 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
### mnmlsmo_technology_photography_style-1024
- Repeats: 1
- Total number of images: ~376
- Total number of aspect buckets: 2
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
- Used for regularisation data: No
## Inference
```python
import torch
from diffusers import DiffusionPipeline
from lycoris import create_lycoris_from_weights
def download_adapter(repo_id: str):
import os
from huggingface_hub import hf_hub_download
adapter_filename = "pytorch_lora_weights.safetensors"
cache_dir = os.environ.get('HF_PATH', os.path.expanduser('~/.cache/huggingface/hub/models'))
cleaned_adapter_path = repo_id.replace("/", "_").replace("\\", "_").replace(":", "_")
path_to_adapter = os.path.join(cache_dir, cleaned_adapter_path)
path_to_adapter_file = os.path.join(path_to_adapter, adapter_filename)
os.makedirs(path_to_adapter, exist_ok=True)
hf_hub_download(
repo_id=repo_id, filename=adapter_filename, local_dir=path_to_adapter
)
return path_to_adapter_file
model_id = 'FLUX.1-dev'
adapter_repo_id = 'playerzer0x/growwithdaisy/dsycam_20241115_133438'
adapter_filename = 'pytorch_lora_weights.safetensors'
adapter_file_path = download_adapter(repo_id=adapter_repo_id)
pipeline = DiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.bfloat16) # loading directly in bf16
lora_scale = 1.0
wrapper, _ = create_lycoris_from_weights(lora_scale, adapter_file_path, pipeline.transformer)
wrapper.merge_to()
prompt = "a photo of a daisy"
## Optional: quantise the model to save on vram.
## Note: The model was not quantised during training, so it is not necessary to quantise it during inference time.
#from optimum.quanto import quantize, freeze, qint8
#quantize(pipeline.transformer, weights=qint8)
#freeze(pipeline.transformer)
pipeline.to('cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu') # the pipeline is already in its target precision level
image = pipeline(
prompt=prompt,
num_inference_steps=20,
generator=torch.Generator(device='cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu').manual_seed(1641421826),
width=1024,
height=1024,
guidance_scale=3.5,
).images[0]
image.save("output.png", format="PNG")
```
|