Hi all,
I’ve just installed the Ambrosinus toolkit today but having trouble getting it to work.
Ambrosinus Version 1.2.5
CN Version : webui-controlnet-v1-archived cloned from GitHub - lllyasviel/webui-controlnet-v1-archived: WebUI extension for ControlNet (v1 archived)
ckpt models : control_sd15_mlsd, control_sd15_canny as .pth files
Grasshopper is able launch the webUI process
Python 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)]
Version: v1.6.0-2-g4afaaf8a
Commit hash: 4afaaf8a020c1df457bcf7250cb1c7f609699fa7
Launching Web UI with arguments: --api --lowvram --theme dark
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [6ce0161689] from C:\Users\ami.nigam\Documents\SD_Local\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
Running on local URL: http://127.0.0.1:7860
It is also able to run the process
To create a public link, set `share=True` in `launch()`.
Creating model from config: C:\Users\ami.nigam\Documents\SD_Local\stable-diffusion-webui\configs\v1-inference.yaml
Startup time: 30.1s (prepare environment: 6.0s, import torch: 9.9s, import gradio: 4.2s, setup paths: 3.1s, initialize shared: 0.7s, other imports: 2.2s, setup codeformer: 0.3s, load scripts: 2.4s, create ui: 0.4s, gradio launch: 0.8s).
Applying attention optimization: Doggettx... done.
Model loaded in 8.2s (load weights from disk: 0.9s, create model: 0.4s, apply weights to model: 3.4s, apply half(): 0.8s, calculate empty prompt: 2.6s).
Loading model: control_sd15_canny [fef5e48e]
Loaded state_dict from [C:\Users\ami.nigam\Documents\SD_Local\stable-diffusion-webui\extensions\webui-controlnet-v1-archived\models\control_sd15_canny.pth]
ControlNet model control_sd15_canny [fef5e48e] loaded.
Loading preprocessor: canny
100%|████████████████████████████████████████████████████████████████████████████████| 150/150 [04:14<00:00, 1.70s/it]
Total progress: 100%|████████████████████████████████████████████████████████████████| 150/150 [04:12<00:00, 1.69s/it]
Total progress: 100%|████████████████████████████████████████████████████████████████| 150/150 [04:12<00:00, 2.03s/it]
But this data doesnt come through to gh
This is the error
1. Solution exception:Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Running webui-user.bat file directly seems to still work & I’m able to produce images through the web-ui.
Not sure if anyone has faced this, any help will be appreciated.
GH Definition attached below
SD GH.gh (18.9 KB)