Your current browser has compatibility issues. Please switch toChrome for uninterrupted access.

Anti-Blur

28.1k
271
70
42
상업적 사용FluxLoRA-RealisticRealisticPortrait PhotographyGirlElement Boost|dofblur
첫 번 게시: 24/09/11
Realistic,Portrait Photography,Girl,LoRA,FLUX.1Image info
Realistic,Portrait Photography,Girl,LoRA,FLUX.1Image info
Realistic,Portrait Photography,Girl,LoRA,FLUX.1Image info
Realistic,Portrait Photography,Girl,LoRA,FLUX.1Image info
Realistic,Portrait Photography,Girl,LoRA,FLUX.1Image info

AntiBlur Lora has been significantly improved!


Improvements in new Lora:

  • DoF can be adjusted by Lora's weight.

So a weight of 0 will give a shallow DoF, typical for Flux generations.

A default weight of 1.0 will reduce DoF to a (hopefully) more pleasant image, without significant changes in style and composition. The goal was to get DoF at weight 1.0 to be exactly how you'd expect it to be: minor good bokeh here and there, without overdoing it as is often the case with Flux (more on that later)

A weight of over 1.0 can be used to make shots with deep DoF. Lora can handle weights up to 3.0 and beyond without significant degradation in quality.


  • Stylistically neutral

The dataset was made from hundreds of images created with Flux, so as not to take the style too far from the original model, while small number of real photos were used to keep Flux from degrading in composition (which is what happens when you train AI on it's own pictures)


  • Pairs well with Hires. fix

This Lora works well with hiresfix, allowing you to further increase the details and minimize shallow DoF. This was not the case with basic Flux, because by trying to do hires. fix to a blurred image with shallow DoF, it'd stil remain blurred with the same DoF effect. You just need the details to start appearing in the image, for hires.fix to improve them further.


  • No more Trigger words

Just connect the Lora and it'll do the job


  • Much less artifacts

Using Flux-generated images minimizes artifacts. I also trained a lot of models, and made a merge of the best of them, using tool provided by anashel (This smoothed out the edges of individual models that led to artifacts. Also, merging turned out to be especially useful for making the model more stylistically diverse.)


Why does Lora weight 655mb

It seemed to me that Lora with basically a "deep DoF" effect should be small, as it doesn't introduce a new style or concept, it just has to remove shallow DoF.

So I tried different Lora ranks, but as it turned out, information about the backgrounds is everywhere in the latent space, and the larger the model, the better results it gives. That's how I settled on the 128-rank Lora.

It's possible to isolate Lora's layers, and only use layers with DoF information in them, but as it turned out, information about DoF is scattered throughout most of the layers. For example, when generating macro shots, DoF is generated from the first layers. Information that appears in the backgrounds is really everywhere in the model, and constant shallow DoF is just the way training data was like for Flux. To make matters worse, Flux has a really poor understanding of DoF and blur conceptually. So not only it is present in much bigger amount than SD1.5/SDXL, it also provides much worse control over it than SD1.5/SDXL.


How was this Lora made

First, I put together a huge dataset with focus stacking techniques and deep DoF, on this I trained a new Lora. Next, using this Lora, I created images for a new dataset.

I've got several hundred variants of the "antiblur" Lora, selected the best ones each with their advantages, and combined them into a one well-balanced model.

What's next?

Since the higher the rank, the better the quality, the obvious way to improve the result would be to train a full finetune (and effectively touch every corner of the latent space, where there is information related to backgrounds), and then extract the Lora.

Another theoretical option is to find the "blur" or "dof" concept/weights in Flux latent space, and make a Lora out of inverted weights. This method wasn't very effective for dof control in SD-based models though.

As of now though I'm happy with the result. The model will remain my best effort for a while

모두 확장

토론2

가장 인기
|
최신
보내기
avatar
gicuxyjo
Wide shot of dense forest, as Santaji and his men silently navigate through the shadows. The atmosphere is tense, quiet, as they prepare for an ambush on Mughal forces.
2024/09/21 05:06:46
0답글
avatar
Shavak HCDC
Wide shot of dense forest, as Santaji and his men silently navigate through the shadows. The atmosphere is tense, quiet, as they prepare for an ambush on Mughal forces.
2024/09/18 10:04:43
0답글
더 이상의 댓글 없음
Vadim_Fedenko
아티스트
20
1
28.2k
265
즐겨찾기
다운로드
(655.63MB)
확인됨:2024/09/11
safetensors
자세히
유형
LoRA
온라인 생성 횟수
28.1k
다운로드
265
기본 알고리즘
FLUX.1
기능 설명
Deep DoF
추천 매개변수
추천 체크포인트 조합Checkpoint
Flux.1 Model Family_Black Forest Labs_FLUX.1-dev-fp8
추천되는 체중
1
CFG
1
VAE
없음
라이선스
온라인 생성 가능
합성 가능
상업 라이선스상업적 사용 규칙
생성된 이미지는 상업적 목적으로 사용 가능
모델을 재판매하거나 합성된 모델로 판매할 수 있습니다
*라이선스 범위는 창작자가 설정하며, 사용자는 지침에 따라 사용해야 합니다

갤러리70

가장 인기
|
최신
avatar
Marie D'Lafontein
Image info
avatar
Rokuroku6
Image info
avatar
Verusgo5
Image info
avatar
Thu Nguyen
Image info
avatar
KON3S
Image info
avatar
Rokuroku6
Image info
avatar
sango3
Image info
avatar
KON3S
Image info
avatar
Coc 1
Image info
avatar
Verusgo5
Image info
avatar
Thu Nguyen
Image info
avatar
hihaf55666
Image info
avatar
Rokuroku6
Image info
avatar
Rokuroku6
Image info
avatar
sango3
Image info
avatar
Đỗ Đài Trang
Image info