Comments (6)
I'll try, but I don't think I'll be able to control it as intended.
from adetailer.
How about this: https://github.com/Bing-su/adetailer/wiki/Advanced
from adetailer.
Thanks! This will solve most use cases and is a very big upgrade.
The only unfortunate case is that we're still not able to "skip" one of the targets even with the blank option.
from adetailer.
hi a did it for version at 26.05.2023
you need change thats files in that version
- open !adetailer.py in editor
- find-> for j in range(steps):
- add after this string ->
if j != args.ad_instance_num: continue - open args.py in editor
- find-> ad_negative_prompt: str = ""
- add after this string->
ad_instance_num: int = 0 - find-> ppop = partial(self.ppop, p)
- add after->
ppop("ADetailer instance num") - find-> ("ad_negative_prompt", "ADetailer negative prompt"),
- add after-> ("ad_instance_num", "ADetailer instance num"),
- open ui.py in editor
- find-> elem_id=eid("ad_conf"),
) - add after->
w.ad_instance_num = gr.Slider(
label="Detection instance number" + suffix(n),
minimum=0,
maximum=6,
step=1,
value=0,
visible=True,
elem_id=eid("ad_instance_num"),
)
formatting indents are important to keep
After this and restart bat you see in UI
under Detection spoiler new slider named "Detection instance number" counter of order starts from 0(0 - work with fist only instanse and etc.).
Impotant save original files for packed proccessing multimask in the future.
from adetailer.
also set in settings
Sort bounding boxes by Position(left-to-right)
And need to undestand when you deleting person or face from original picture using early tabs, in next tabs order of masks changes because in every next tabs list of masks detecting from start
from adetailer.
Thanks! This will solve most use cases and is a very big upgrade. The only unfortunate case is that we're still not able to "skip" one of the targets even with the blank option.
You can actually now SKIP, see https://github.com/Bing-su/adetailer/wiki/Advanced.
And if you changethe order in the Settings to be from big to small area, more or less you can figure out the order in which the faces will be changed. And then you can prompt for each individual one in a wildcard, or skip those that you want to skip.
from adetailer.
Related Issues (20)
- [Feature Request]: Add Option to Enable or Disable Automatic Download of Huggingface Model Files HOT 5
- [Feature Request]: Make 2nd or n-th prompt after [SEP] | [SKIP] use the same seed as original prompt, wildcards and regional prompter
- [Bug]: After adetailer, result (whole image) is processed, completely ruining it HOT 1
- [Bug]: HOT 1
- [Feature Request]: Has Anyone Experienced Image Generation Area Freezing? HOT 1
- UI typo HOT 2
- [Bug]: [SEP] no longer works, the first face gets put on everybody HOT 3
- [Bug]: Start seeing the Inpainted line... HOT 1
- [Bug]: Some metadata written as blank HOT 3
- [Feature Request]: count faces and choose HOT 3
- How do I create a mask but not optimize it? HOT 10
- [Feature Request]: Composite masking: subtract one mask from another HOT 1
- [Feature Request]: Recursive pass through, like LLM agents HOT 2
- [Bug]: setting live preview to 0 (real time update) breaks detection mask drawing HOT 1
- [Bug]: ADeatailer not working???? HOT 2
- [Bug]: ADtailer toolbar is not displayed even after restarting the web ui HOT 3
- [Feature Request]: Option to use hires fix settings HOT 2
- [Feature Request]: Add Use same sampler option HOT 2
- [Bug]: detection box color went from red to blue HOT 5
- [Bug]: Adetailer's inpainting conflicts with Tiled VAE HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adetailer.