- Dec 21, 2020
- 1,570
- 3,767
Everything starts fine, but when I select 'Generate' after typing the prompts in the webui, I get this error message: 'ValueError: Query/Key/Value should all have the same dtype query.dtype: torch.float32 key.dtype : torch.float32 value.dtype: torch.float16'. I only get this error when I put the '--xformers' parameter in the .batCan you post the screenshot of the error?
Yeah, I have a GTX 1060 3Gb, I should be able to use that option with no problem. I have tried removing the '--medvram' option and leaving only the '--xformers' and the 'opt split' option and it keeps giving me the same error when generating the images.by the way you need an Nvidia GPU for xformers. It must take advantage of their deep learning thing afaik
You might have seen this thread:Everything starts fine, but when I select 'Generate' after typing the prompts in the webui, I get this error message: 'ValueError: Query/Key/Value should all have the same dtype query.dtype: torch.float32 key.dtype : torch.float32 value.dtype: torch.float16'. I only get this error when I put the '--xformers' parameter in the .bat
Is there a video tutorial
How do I create these images?
Hey guys, answering my own question about using different tabs, etc. I've just discovered how to use 'styles' which allows you to save infinite presets of your prompts, I tried it before but didn't figure out. I hope I'm not too late bringing this info...
I've been looking into this as well and also just learned that inpainting after upscalling gives better results. Another thing that I just found out is that there are a lot of models that provide a separate "inpainting version" that you can use to get better results. URPM, the AbyssOrange mixes and Dreamshaper all have this feature.Today I learned about inpaiting, non restored faces, picture resolution and some other stuff, and tested with an old 'problem' of the thread.
To improve the faces on 2 persons you just have to inpaint each face at once, I remember that was my answer in the moment but never tried it. To make good inpaintings, you can follow this little tutorial, note that there is no face restoration used.
You must be registered to see the links
For more detail and control when inpainting you can put the picture in photoshop and create the mask there and then put the picture back to inpaint, this is mostly needed in this picture cause faces look very little, I just did it with the normal inpaint because it's just an excercise.
You don't have permission to view the spoiler content. Log in or register now.
This was made with the HASDX model, which probably wasn't the most suited for this picture, since I was just practicing I didn't care about that.
View attachment 2400624
by the way also make sure you're running the AI using your 1060 if you have an integrated one as wellYeah, I have a GTX 1060 3Gb, I should be able to use that option with no problem. I have tried removing the '--medvram' option and leaving only the '--xformers' and the 'opt split' option and it keeps giving me the same error when generating the images.
I've been using clarity and deliberance, they are booth great models and into my favorites:Checkpoint Compared Part3. Prompt by DaringDivas, civitai DucHaitenAIart comment section.
Prompt:
Hasselblad award winning extreme close-up photograph of a beautiful coy female skinny blonde fitness model wearing an elegant bias-cut silk chiffon dress sitting, (((worlds largest GGGG breasts))), plunging cleavage, huge necklace, oiled skin, athletic abs, muscular arms, wide shoulders, beautiful face, high cheek-bones, small chin, heavy make-up, smoky eyes, detailed eyes, low body-fat, cinematic lighting, setting is a moody cocktail bar.
I used Heun sample method instead of LMS that the OP used.
You don't have permission to view the spoiler content. Log in or register now.
View attachment 2401846
I've just seen a video from Sebastian Kamph that says that it's not always good to inpaint after the upscale, funny because I learned to do that from him before, he doesn't say when it's good and when it's not good to do it. There is a lot of experimentation going on it seems.I've been looking into this as well and also just learned that inpainting after upscalling gives better results. Another thing that I just found out is that there are a lot of models that provide a separate "inpainting version" that you can use to get better results. URPM, the AbyssOrange mixes and Dreamshaper all have this feature.