-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
txt2img not working #152
Comments
I'm having the same issue in linux, cannot generate anything from krita: auto-sd-paint-ext:INFO: txt2img: auto-sd-paint-ext:WARNING: Interrupted! Looks like it's not passing some needed arguments and it fails |
Same here, after installing A1111 ver 1.3.0 , I can not generate anything in Krita |
I found a quick and dirty fix for this problem. under the stable diffusion folder, go to extensions/auto-sd-paint-ext/backend, edit the app.py file, this section: output = wrap_gradio_gpu_call(modules.txt2img.txt2img)( I added these 3 lines almost at the end: After that I restart SD and krita and the thing works. |
This work but I got issue with ADetailer extension. I still can generate image inside Krita but just a minor issue on console log. Maybe it's all about ADetailer (not compatible with Krita plugin) and it does not affect any issue at all I guess.
|
I don't think this is related |
This plugin is much potential. I hope "Controlnet" would be deployed into it in near future. |
Hi I'm now getting: AttributeError: 'int' object has no attribute 'username' |
Hello I have this console error message when attempting to draw a thing with txt2img (not tested the other options, it's my first attempt). From what I see in the error msg it search for model.ckpt what is it? I already have a model selected
auto-sd-paint-ext:INFO: txt2img:
restore_faces=False face_restorer='None' codeformer_weight=0.5 sd_model='model.ckpt' sd_vae='Automatic' clip_skip=1 script='None' script_args=[] prompt='a simple cat' negative_prompt=None seed=-1 seed_enable_extras=False subseed=-1 subseed_strength=0.0 seed_resize_from_h=0 seed_resize_from_w=0 sampler_name='Euler a' steps=20 cfg_scale=7.0 denoising_strength=0.7 batch_count=1 batch_size=1 base_size=512 max_size=768 disable_sddebz_highres=True tiling=False highres_fix=False firstphase_height=512 firstphase_width=512 upscaler_name='None' filter_nsfw=False include_grid=False sample_path='outputs/krita-out' save_samples=False orig_width=512 orig_height=512
Checkpoint model.ckpt not found; loading fallback cartoonish_v1.safetensors
Calculating sha256 for C:\Bin\stable-diffusion-webui\models\Stable-diffusion\cartoonish_v1.safetensors: 07f029f6d18ebbce4aea6ff741c2f9f9104a614a8ea4dbd6b0f6948333651c0f
Loading weights [07f029f6d1] from C:\Bin\stable-diffusion-webui\models\Stable-diffusion\cartoonish_v1.safetensors
Loading VAE weights specified in settings: C:\Bin\stable-diffusion-webui\models\VAE\YOZORA.vae.pt
Applying optimization: xformers... done.
Weights loaded in 12.9s (calculate hash: 8.4s, load weights from disk: 0.5s, apply weights to model: 1.3s, load VAE: 0.9s, move model to device: 1.7s).
Restoring base VAE
Applying optimization: xformers... done.
VAE weights loaded.
auto-sd-paint-ext:INFO: img size: 512x512 -> 512x512, aspect ratio: 1.00 -> 1.00, 0.00% change
Error completing request
Arguments: ('', 'a simple cat', '', 'None', 20, 0, False, False, 1, 1, 7.0, -1, -1, 0.0, 0, 0, False, 512, 512, False, 0.7, 0, 'None', 0, 512, 512, [], 0) {}
Traceback (most recent call last):
File "C:\Bin\stable-diffusion-webui\modules\call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "C:\Bin\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
TypeError: txt2img() missing 2 required positional arguments: 'hr_negative_prompt' and 'override_settings_texts'
auto-sd-paint-ext:WARNING: Interrupted!
Desktop (please complete the following information):
Additional context
First install, all seem correct, the connection krita / sd is ok. SD is show in krita. I enter the text a simple cat in krita txt2img and I have the error message show in console
The text was updated successfully, but these errors were encountered: