Comments (10)
both issues are resolved:
- faceid invalid prompt handling
- insightface installer with correct dependencies
from automatic.
this is a package dependency version issue, looks like something got "upgraded" to bad version outside of sdnext control.
I'll check.
once I find the culprit, it will be a easy fix.
from automatic.
This error is caused by insightface installing modules that are "too new".
We'll counter this by manually installing insightface, and then specific versions of these modules.
Open command prompt in stable-diffusion-webui-amdgpu-forge folder.
Run these commands one after the other;
venv\Scripts\activate
pip install insightface
pip install albumentations==1.4.3
pip install pydantic==1.10.15
Close command prompt and run webui-user.bat again.
from automatic.
That sounds like a separate problem and should be in its own issue report.
from automatic.
it sounds like you still have svd model loaded even if you're not using it - you need to select some other model to load.
It's just thar SVD is too big, so can't "store" normal model and then restore.
from automatic.
Man you guys work fast! Thanks Vlad, I've tried brknsoul's tip (looks like Pydantic was instlaled with a much higher version, 2.7 or something). However I can't get regular text to image to work any more after trying the SVD script in my last session.
It seems like it's somehow stuck in the SVD pipeline? If i run img2img it generates but then fails at the end saying required positional argument: 'num_frames'
If i try to run txt2img it simply fails with the following:
01:40:12-854513
WARNING Pipeline class change failed:
type=DiffusersTaskType.TEXT_2_IMAGE
pipeline=StableVideoDiffusionPipeline AutoPipeline
can't find a pipeline linked to
StableVideoDiffusionPipeline for None
01:40:12-883512 INFO Base: class=StableVideoDiffusionPipeline
01:40:12-923513 ERROR Control pipeline failed: type=controlnet units=0
error=StableVideoDiffusionPipeline.call() missing
1 required positional argument: 'image'
01:40:12-925514 ERROR Control: TypeError
┌───────────────────── Traceback (most recent call last) ─────────────────────┐
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\control\run.py:581 in c │
│ │
│ 580 │ │ │ │ │ │ if processed is None: │
│ > 581 │ │ │ │ │ │ │ processed: processing.Processed = process │
│ 582 │ │ │ │ │ │ else: │
│ │
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\processing.py:192 in pr │
│ │
│ 191 │ │ │ with context_hypertile_vae(p), context_hypertile_unet(p): │
│ > 192 │ │ │ │ processed = process_images_inner(p) │
│ 193 │
│ │
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\processing.py:312 in pr │
│ │
│ 311 │ │ │ │ │ from modules.processing_diffusers import process_ │
│ > 312 │ │ │ │ │ x_samples_ddim = process_diffusers(p) │
│ 313 │ │ │ │ else: │
│ │
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\processing_diffusers.py │
│ │
│ 117 │ │ # base_args['image'] = set_latents(p) │
│ > 118 │ │ output = shared.sd_model(**base_args) # pylint: disable=not-c │
│ 119 │ │ if isinstance(output, dict): │
│ │
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\venv\lib\site-packages\torch\ut │
│ │
│ 114 │ │ with ctx_factory(): │
│ > 115 │ │ │ return func(*args, **kwargs) │
│ 116 │
└─────────────────────────────────────────────────────────────────────────────┘
TypeError: StableVideoDiffusionPipeline.call() missing 1 required positional argument: 'image'
Might just be that a Stability Matrix update will be required to get the right requirements etc, but letting you know in case it's an issue you might want to fix. Thanks again!
from automatic.
Good point, if they don't look related I might have to raise it! Will try a fresh install for now though, I don't generally use SVD anyway 👍
from automatic.
Yeah, I figured it out - sorry for not realising sooner! now I'm getting a new error with the face models:
02:23:54-086844
ERROR Control pipeline failed: type=controlnet units=0
error='NoneType' object is not subscriptable
02:23:54-088844 ERROR Control: TypeError
┌───────────────────── Traceback (most recent call last) ─────────────────────┐
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\control\run.py:579 in c │
│ │
│ 578 │ │ │ │ │ │ │
│ > 579 │ │ │ │ │ │ processed = p.scripts.run(p, *p.script_args) │
│ 580 │ │ │ │ │ │ if processed is None: │
│ │
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\scripts.py:483 in run │
│ │
│ 482 │ │ parsed = p.per_script_args.get(script.title(), args[script.ar │
│ > 483 │ │ processed = script.run(p, *parsed) │
│ 484 │ │ s.record(script.title()) │
│ │
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\face_init_.py:119 in │
│ │
│ 118 │ │ │ from modules.face.faceid import face_id │
│ > 119 │ │ │ processed_images = face_id(p, app=app, source_images=inpu │
│ 120 │ │ │ processed = processing.Processed(p, images_list=processed │
│ │
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\face\faceid.py:206 in f │
│ │
│ 205 │ │ │ │ p.iteration = i │
│ > 206 │ │ │ │ p.prompts = p.all_prompts[i * p.batch_size:(i + 1) * │
│ 207 │ │ │ │ p.negative_prompts = p.all_negative_prompts[i * p.bat │
└─────────────────────────────────────────────────────────────────────────────┘
TypeError: 'NoneType' object is not subscriptable``
Sorry for taking up your time here with tech support - I hope it's something useful to other users 😆
from automatic.
Cheers man!
Even on the latest build I'm still getting 'object is not subscriptable' errors using Photomaker, is it something wrong at my end?
16:24:01-380293
INFO Load model: time=20.57 load=16.73 move=3.84
native=1024 {'ram': {'used': 3.55, 'total': 31.93},
'gpu': {'used': 8.12, 'total': 24.0}, 'retries': 0,
'oom': 0}
16:24:01-389308 ERROR Control pipeline failed: type=controlnet units=0
error='NoneType' object is not subscriptable
16:24:01-390809 ERROR Control: TypeError
┌───────────────────── Traceback (most recent call last) ─────────────────────┐
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\control\run.py:579 in c │
│ │
│ 578 │ │ │ │ │ │ │
│ > 579 │ │ │ │ │ │ processed = p.scripts.run(p, *p.script_args) │
│ 580 │ │ │ │ │ │ if processed is None: │
│ │
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\scripts.py:483 in run │
│ │
│ 482 │ │ parsed = p.per_script_args.get(script.title(), args[script.ar │
│ > 483 │ │ processed = script.run(p, *parsed) │
│ 484 │ │ s.record(script.title()) │
│ │
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\face_init_.py:123 in │
│ │
│ 122 │ │ │ from modules.face.photomaker import photo_maker │
│ > 123 │ │ │ processed = photo_maker(p, input_images=input_images, tri │
│ 124 │ │ elif mode == 'InstantID': │
│ │
│ S:\STABLE DIFFUSION\Packages\SD.Next Web UI\modules\face\photomaker.py:21 i │
│ │
│ 20 │ trigger_ids = shared.sd_model.tokenizer.encode(trigger) + shared.s │
│ > 21 │ prompt_ids1 = shared.sd_model.tokenizer.encode(p.all_prompts[0]) │
│ 22 │ prompt_ids2 = shared.sd_model.tokenizer_2.encode(p.all_prompts[0]) │
└─────────────────────────────────────────────────────────────────────────────┘
TypeError: 'NoneType' object is not subscriptable``
EDIT: instantID now works though!
from automatic.
@Biscuitbeard can you try latest update, should be fixed now?
from automatic.
Related Issues (20)
- [Issue]: FaceID in txt2img input prompt ignore partially? HOT 1
- [Issue]: running SD3 HOT 13
- [Issue]: API IP Adapter start value error HOT 1
- [Extension]: ADetailer not being "enabled" via UI HOT 2
- [Issue]: Control endpoint ignores init images. HOT 1
- [Issue]: Pydantic error on Apple M1 HOT 4
- [Feature]: Add the ability to select Extra Networks (loras at this point) to xyz script HOT 5
- [Feature]: Option to Force GC after every operation. HOT 6
- [Issue]: SDXL model swapping freezes the computer (ROCm on AMD RX 7900 XTX) HOT 3
- [Issue]: When using PAG, after running ADetailer the wrong pipeline is restored HOT 1
- [Feature]: Enhance inpaint with full noise when desired HOT 9
- [Issue]: Wrong order in pipeline restore after ADetailer breaks extension with batch counts > 1 HOT 1
- [Issue]: Setting VAE to None doesn't unload VAE in memory. HOT 1
- Verifying submodules output is confusing HOT 5
- [Feature]: --update as alias for --upgrade HOT 1
- [Issue]: Process tab: image drop with no metadata throws a long error message HOT 2
- [Issue]: SD3 fails with `ValueError: too many values to unpack` HOT 11
- [Feature]: Adds the identification of model subdirectories HOT 3
- [Feature]: Why not add more examples? HOT 1
- [Issue]: AMD GPU (RX 7900 XT) on Ubuntu 22.04 not used HOT 5
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 automatic.