Comments (5)
Say you have a input_prompt = "a rabbit and a cat"
.
and you have text-labeled segmentation maps with region with dog
in it. In this current implementation, this will cause an error because dog
is not in the input_prompt
.
Make sure that that all your segmentation labels are strictly include in the prompt.
Note : This is, to be honest, not the best way to implement as there can always be subtle difference in segmentation label and prompt, which is reasonable! I am planning to thus implement some sort of "neural" version of this, but this was not in their paper so I don't know if this would work.
from paint-with-words-sd.
Say you have a
input_prompt = "a rabbit and a cat"
. and you have text-labeled segmentation maps with region withdog
in it. In this current implementation, this will cause an error becausedog
is not in theinput_prompt
. Make sure that that all your segmentation labels are strictly include in the prompt.
The thing that was tripping me up is that if you have multiple words for a given region, it won't trigger this error as long as one of the words is in your prompt. Unfortunately, words that aren't in the prompt usually don't seem to have any effect on the output image, while words that are in the prompt that could apply to the subjects of multiple regions frequently end up contaminating them. Which makes using this for complicated subjects a bit of a crapshoot.
(Although the lack of negative prompting is sometimes making it hard to tell what's going on... the model I'm using is very good at making bad art if you don't tell it not to.)
from paint-with-words-sd.
could apply to the subjects of multiple regions frequently end up contaminating them. Which makes using this for complicated subjects a bit of a crapshoot.
Right, I am aware of this issue. This is fixable problem and I will work on it.
(Although the lack of negative prompting is sometimes making it hard to tell what's going on... the model I'm using is very good at making bad art if you don't tell it not to.)
I have added negative prompting today, so check it out!
you can use it with arguement unconditional_input_prompt: str = "",
from paint-with-words-sd.
thank you, I mannaged to make it work, I am still a bit lost but it's doing something haha, great work by the way!
from paint-with-words-sd.
Right, I am aware of this issue. This is fixable problem and I will work on it.
Glad to hear it. I... don't really get how any of this works, so I wasn't sure what I should hope for.
from paint-with-words-sd.
Related Issues (20)
- Is it it possible that some of the features in this research paper could be implemented?
- Suggestion about the tool to generate mask image? HOT 2
- SMB World 1-1 Segmentation Map and Key. HOT 1
- About porting to the diffusers pipeline HOT 1
- Question: How is this project going? HOT 1
- inj_forward() got an unexpected keyword argument 'attention_mask' HOT 3
- Parsing of Color values going wrong HOT 1
- I am trying to run this on Stable Diffusion 2.1 but I keep getting black images HOT 3
- inj_forward() got an unexpected keyword argument 'encoder_hidden_states' HOT 2
- having trouble getting cuda installed with this
- Found another implementation
- Will the Gradio demo look something like this? HOT 2
- AUTOMATIC1111 extension of PwW + ControlNet HOT 2
- Using with lora HOT 1
- Confliction of A1111 extension of PwW+Control to the original extension of ControlNet HOT 28
- Commas, Periods and Tokens HOT 1
- Incredibly High VRAM Usage
- diffusers multicontrolnet pipeline with paint with words HOT 3
- Paint with words with Lora? HOT 2
- text and control input align 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 paint-with-words-sd.