sd-webui-controlnet
sd-webui-controlnet copied to clipboard
Report an error when unsing Uniformer Segmentation
#Python version: 3.10 MMCV version: 1.7.1 System: windows 10 Error content: File "A:\ControlNet-main\annotator\uniformer\mmcv\utils\ext_loader.py", line 15, in load_ext assert hasattr(ext, fun), f'{fun} miss in module {name}' AssertionError: top_pool_forward miss in module _ext
Same error here
According to what I tried, this error seems to occur when other extensions that use “mmcv” are installed. In my environment, the extensions of “ddetailer” were using “mmcv-full” and caused an error. It might work if you move the extensions that use “mmcv” outside the folder. You may need to recreate the venv folder depending on the situation, but…
According to what I tried, this error seems to occur when other extensions that use “mmcv” are installed. In my environment, the extensions of “ddetailer” were using “mmcv-full” and caused an error. It might work if you move the extensions that use “mmcv” outside the folder. You may need to recreate the venv folder depending on the situation, but…
I will try that, thx dude!
According to what I tried, this error seems to occur when other extensions that use “mmcv” are installed. In my environment, the extensions of “ddetailer” were using “mmcv-full” and caused an error. It might work if you move the extensions that use “mmcv” outside the folder. You may need to recreate the venv folder depending on the situation, but…
Genius! I've uninstalled mmcv-full and openmim and it's now working!
https://github.com/lllyasviel/ControlNet/issues/61#issuecomment-1434005703
pip uninstall mmcv-full -y remove folder \stable-diffusion-webui\extensions\ddetailer (bye)
ok!
Created further issues when following these fixes unfortunately,
File "E:\Automatic1111\stable-diffusion-webui\modules\scripts.py", line 386, in process
script.process(p, *script_args)
File "E:\Automatic1111\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 573, in process
detected_map = preprocessor(input_image, res=pres, thr_a=pthr_a, thr_b=pthr_b)
File "E:\Automatic1111\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\processor.py", line 155, in uniformer
from annotator.uniformer import apply_uniformer
File "E:\Automatic1111\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\uniformer_init_.py", line 1, in