Comments (9)
Partially done; overmask px now 20px by default.
from openoutpaint.
We can try looking for a model with "inpainting" in its name, but from what I know, there is no way to differentiate inpainting models from normal models.
On the 'overmask config', we can do that.
@zero01101 what do you think about this change?
from openoutpaint.
yeah, i was honestly trying to think of a way to make it a bit more obvious that non-inpainting models just... won't work lol... and like i don't believe any of the API endpoints return any information about how many unet channels the currently loaded model has either...
i'm of course all for a higher default value for overmask; i'm weirdly attached to that silly little function <3
from openoutpaint.
For whatever it is worth it, looking at the name of the file is how auto1111 webui knows it is an inpainting model and should be treated as such ....
The function that detects this is here
https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/sd_hijack_inpainting.py#L322
from openoutpaint.
Well, if that is good enough for webui we can assume it is for us now! :)
from openoutpaint.
Will add a dialog asking if the user wants to change to an inpainting model on first run.
from openoutpaint.
For whatever it is worth it, looking at the name of the file is how auto1111 webui knows it is an inpainting model and should be treated as such ....
lmao are you serious
see i was digging around extras.py
in the model merging logic where it's comparing checkpoint dimensions and assumed surely that's how other models would be verified
from openoutpaint.
@patrickas Could you give the compact-checkboxes
branch a look? It now asks for inpainting model changes on first run.
from openoutpaint.
Perfect, this is exactly what I had in mind!
I think first time users will get much better results now.
And thanks for all the great work!
from openoutpaint.
Related Issues (20)
- [Feature Request]: Erase mask with Ctrl+left click instead of right click HOT 4
- [Feature Request]: Make ControlNet more easy to use? or Provide info on how to use it in the Manual? HOT 2
- [Feature Request]: Keyboard shortcut for Mask Clear HOT 3
- [Bug]: Canvas eventaully disapears on Firefox HOT 2
- [Bug]: Unable to 'apply current' on Chrome: Failed to execute 'drawImage' on 'CanvasRenderingContext2D' HOT 3
- [Bug]: Extentions don't always detect properly HOT 1
- [Bug]: mask issue with inpaint if inpaint_only+lama selected HOT 2
- [Bug]: large canvas cropped on upscale HOT 1
- [Bug]: I am unable to use the app due to an api error HOT 3
- [Bug]: Error generating images HOT 4
- [Bug]: Layers not working as expected HOT 10
- [Bug]: Img2Img/Dream leads to unexpected cropping HOT 5
- [Bug]: Prompt working but when accepting picture, it only keeps the area it was looking for and cut the rest of the image outside the box. HOT 11
- [Bug]: After pressing "Y" the canvas is cleared, only the last generation remains HOT 4
- [Feature Request]: Ability to cancel all processes with one action HOT 12
- [Bug]: Unable to Scroll Through UI Components HOT 1
- [Bug]: Selection tool resize handles not working. HOT 13
- [Feature Request]: Add mobile browser support HOT 2
- [Bug]: Transform Tool Erase is not saving to history. HOT 1
- [Bug]: Not working with Forge HOT 3
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 openoutpaint.