Instructions to use XLabs-AI/flux-controlnet-hed-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use XLabs-AI/flux-controlnet-hed-v3 with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("XLabs-AI/flux-controlnet-hed-v3") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
DoubleStreamBlock' object has no attribute 'processor'
#2
by Kdawg5000 - opened
I've tried everything, but keep getting this error when ComfyUI tries to run the XLabssampler.
File "D:\ComfyUI2\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1695, in getattr
raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'")
AttributeError: 'DoubleStreamBlock' object has no attribute 'processor'
EDIT: It's working now. I never ran the setup.py, but just installed the nodes using the Manager.