Instructions to use Nacholmo/controlnet-qr-pattern-sdxl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Nacholmo/controlnet-qr-pattern-sdxl with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("Nacholmo/controlnet-qr-pattern-sdxl") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,36 +6,30 @@ tags:
|
|
| 6 |
- stable-diffusion-xl-diffusers
|
| 7 |
---
|
| 8 |
|
| 9 |
-
#
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
## Controlnet model for use in qr codes sdxl
|
| 13 |
|
| 14 |
Conditioning only 25% of the pixels closest to black and the 25% closest to white.
|
|
|
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
TODO:
|
| 19 |
-
* fix the files naming
|
| 20 |
-
* update the readme
|
| 21 |
-
* sleep 8 hours
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-

|
| 25 |
-
|
| 26 |
-
# Not yet scannable
|
| 27 |
-
|
| 28 |
-

|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
# I am working on two versions, one more oriented to make qr readable (like the original qr pattern), and the other more oriented to optical illusions
|
| 32 |
-
## this is an example of the second version:
|
| 33 |
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
|
|
|
| 36 |
|
| 37 |
-
|
|
|
|
|
|
|
| 38 |
|
|
|
|
| 39 |
QR Pattern and QR Pattern sdxl were created as free community resources by an Argentinian university student. Training AI models requires money, which can be challenging in Argentina's economy.
|
| 40 |
If you find these models helpful and would like to empower an enthusiastic community member to keep creating free open models, I humbly welcome any support you can offer through ko-fi here.
|
| 41 |
https://ko-fi.com/nacholmo
|
|
|
|
| 6 |
- stable-diffusion-xl-diffusers
|
| 7 |
---
|
| 8 |
|
| 9 |
+
# OpticalPattern
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
Conditioning only 25% of the pixels closest to black and the 25% closest to white.
|
| 12 |
+

|
| 13 |
|
| 14 |
+
IMPORTANT:
|
| 15 |
+
Try to generate a lot of images and adjust the parameters. The example parameters are the ones used in the images above, many images require different values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
+
## Example parameters
|
| 18 |
+
* Preprocessor: none
|
| 19 |
+
* Model: control_v10e_sdxl_opticalpattern
|
| 20 |
+
* Control Weight: 1
|
| 21 |
+
* Starting Control Step: 0.15
|
| 22 |
+
* Ending Control Step 0.75
|
| 23 |
+
* Prompt: cinematic scenery city street
|
| 24 |
+
* Negative prompt:(worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), (worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch, blurry, film grain, noise)
|
| 25 |
|
| 26 |
+
# Notes
|
| 27 |
|
| 28 |
+
* Version v10e is now compatible with comfyui and low vram option
|
| 29 |
+
* Im still working in both a "production ready" version with improve sharpness and the qrpattern version.
|
| 30 |
+
* Thanks for the support, you guys are awesome!
|
| 31 |
|
| 32 |
+
----
|
| 33 |
QR Pattern and QR Pattern sdxl were created as free community resources by an Argentinian university student. Training AI models requires money, which can be challenging in Argentina's economy.
|
| 34 |
If you find these models helpful and would like to empower an enthusiastic community member to keep creating free open models, I humbly welcome any support you can offer through ko-fi here.
|
| 35 |
https://ko-fi.com/nacholmo
|