Instructions to use Nacholmo/controlnet-qr-pattern with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Nacholmo/controlnet-qr-pattern with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("Nacholmo/controlnet-qr-pattern") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Would you mind share how to train it?
#2
by lj1995 - opened
I want to use controlnet to train something, and find that your qrcode model is a good idea.
I would like to see if I can learn from the experience of QR codes and train some other models.
I learned from the example in diffusers, the rest was trial and error, this is the link:
https://github.com/huggingface/diffusers/tree/main/examples/controlnet
lj1995 changed discussion status to closed