Instructions to use CrucibleAI/ControlNetMediaPipeFace with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CrucibleAI/ControlNetMediaPipeFace with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("CrucibleAI/ControlNetMediaPipeFace") pipe = StableDiffusionControlNetPipeline.from_pretrained( "stabilityai/stable-diffusion-2-1-base", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
error while trying to process in controlnet (Solved)
#24
by Phaskito - opened
Hello
I can't use control_v2p_sd21_mediapipe_face.safetensors in Stable Diffusion 2.1 in Controlnet
The preprocessing performs fine, but when I try to generate the image I always get:
RuntimeError: mat1 and mat2 shapes cannot be multiplied (154x768 and 1024x320).
Do you know how I can solve it?
Regards
Solved. The error occurred with the sd21 version. I installed the sd15 and everything works
Phaskito changed discussion title from error while trying to process in controlnet to error while trying to process in controlnet (Solved)