Sign In

LOFI

9.6k
91k
319
Verified:
SafeTensor
Type
Checkpoint Trained
Stats
19,251
Reviews
Uploaded
Aug 22, 2023
Base Model
SD 1.5
Training
Steps: 10,000
Epochs: 100
Usage Tips
Clip Skip: 1
Hash
AutoV2
9462506675
0
0
0
0

L.O.F.I: Limitless Originality Free from Interference

[update:230822]

LOFI v4 released

What updated

  1. More training and fine-tuning

  2. Inject sdxl1.0 knowledge (about Portraits and Machinery)

  3. Fix some screen composition bug (bug in v3 version: often generate broken cloth and scenes)

Advices

  1. The v4 does not require any prompt to improve quality. Try it without (best quality, masterpiece...).

  2. The v4 does not require strong prompt weight adjustments. Try removing all prompt weights.

  3. The v4 does not require Hi-RES. Try big steps (>50steps) and use a DPM++ series sampler.

  4. The v4 still contains a little bit of Asian-style, if you don't want it, please follow this model 👉 EPIC-v1

---

V4 vs V3

提示词精准不漂移,彻底移除默认人脸风格

Precise application of prompt words, completely remove the default face style

---

huggingface backup

[update:230720]

一个新的模型,使用 LOFIv3 + SDXL0.9 微调而来: RawXs

a new model, fine-tuned using LOFIv3 + SDXL0.9: RawXs

LOFI will focus on portrait generation, RawXs will be more realistic

[update:230624] LOFI V3

re-compose various types of LOFI-sub lora, fix overfitting

for V3 sugestions:

  • sampler: DPM adaptive / DPM++ / DDIM

  • feature to control camera is still available

extensions sugestions:

  • Stable Diffusion Dynamic Thresholding (CFG Scale Fix)

https://github.com/mcmonkeyprojects/sd-dynamic-thresholding/tree/master

my configuration:

Dynamic thresholding enabled: True, Mimic scale: 4, Threshold percentile: 100, Mimic mode: Linear Up, Mimic scale minimum: 0, CFG mode: Linear Up, CFG scale minimum: 0,
  • ControlNet

https://github.com/Mikubill/sd-webui-controlnet

  • FaceEditor (better than restore-face)

https://github.com/ototadana/sd-face-editor

(It is suitable for image generation with a relatively small proportion of faces. If it is a close-up photo, there is no need to use it)

---

v3 inpaint

---

huggingface

https://huggingface.co/lenML/LOFI-v3/tree/main

[update:230602] LOFI V2.2

know more fake, know more real better

For version V22, here are some suggestions:

  1. Negative prompts have a significant effect and can greatly improve quality. This model has a strong understanding of what is considered "bad-thing".

  2. The camera control is not as strong as v21, but it also includes fine-tuning models (about 30% of the camera control capability of v21).

  3. This training used a large amount of Asian images (~5GB), so drawing other races may require different Lora or Ti models.

  4. [Strongly recommended] Use ControlNet. This version works perfectly with ControlNet, restricting certain parts of the image will make the model output infinitely closer to reality.

  5. Use DPM++ series sampler, the higher the step, the more detailed the output, and cfg can also be increased.

enjoy AI world.

--

work good with ControlNet:

👈Left one, the composition is correct, but the hairstyle, expression, pose, and lighting are all inconsistent with the prompt.

👉Right one, controlnet enabled, layout of the scene been contorled, and all prompts are correctly reflected in the generated image! awsome!!!

--

LOFI V22 inpainting model released~showcase here:

--

now, my models backup on huggingface:

https://huggingface.co/lenML/LOFI-v2_2/tree/main

https://huggingface.co/lenML/LOFI-V2_2-inpainting/tree/main

https://huggingface.co/lenML/LOFI-v2pre/tree/main

--

[update:230414] LOFI V2.1

  • 🧙more realistic details from more iterative training (200epochs)

  • 🩹a little bit facial effect rollback (to LOFI V2pre)

  • 🖌️add inpainting model (base on LOFI V2.1)

tips (about inpainting model):

You need to ensure that your inpaint model filename is in a format supported by the webui, such as LOFI_V21.inpainting.safetensors

(This is likely a bug with Civitai, resulting in the downloaded model file having a different name than what was uploaded... so you need to manually modify it to ensure the webui can load the model correctly.)

--

Note: because I used some of the optimization of torch2.1, it is possible that you could not generate exactly same image with same parameters (but quality was good)

[update:230325] LOFI V2

Finally, v2 is released

Based on the LOFI-v1 model, finetuned 80,000 steps / 300 epochs

  • 📷more camera concept

[update:230224] LOFI V2pre

version 2 pre-release. This is a pre-release version, not just the merge model, it also includes some model parts that I have fine-tuned through training, including the previously released TAF and some other train models that improve image quality

But it may cause the model to focus on “portrait of characters”, so this is only a pre-release version and needs to be updated. LOFI model aims to be general and high-quality.

Prompt suggestions

  • Since the text-encoder used is enough trained version, do not use a very high attention to control weight, which will cause some wrong drawing, it is recommended that all attention weights be no higher than 1.2

  • If there is no special composition requirement, there is no need for a lot of negative prompts, such as "missing hands", which may affect human body drawing, and DeepNegative is enough for negative prompts

  • It is strongly recommended to use hires.fix to generate, Recommended parameters:

    • (final output 512*768)

      Steps: 20, Sampler: Euler a, CFG scale: 7, Size: 256x384, Denoising strength: 0.75, Hires upscale: 2, Hires steps: 40, Hires upscaler: Latent (bicubic antialiased)

Most of the sample images are generated with hires.fix

Note: that if you use hires.fix, you may not be able to reproduce the image with the same set of parameters in webui, because hires.fix introduces double randomness