thomaseding commited on
Commit
6633e63
·
1 Parent(s): 4a8baf4

Add a bunch of grid images

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +5 -1
  2. grids/1024x1024/1024x1024_100x100.png +0 -0
  3. grids/1024x1024/1024x1024_101x101.png +0 -0
  4. grids/1024x1024/1024x1024_102x102.png +0 -0
  5. grids/1024x1024/1024x1024_103x103.png +0 -0
  6. grids/1024x1024/1024x1024_104x104.png +0 -0
  7. grids/1024x1024/1024x1024_105x105.png +0 -0
  8. grids/1024x1024/1024x1024_106x106.png +0 -0
  9. grids/1024x1024/1024x1024_107x107.png +0 -0
  10. grids/1024x1024/1024x1024_108x108.png +0 -0
  11. grids/1024x1024/1024x1024_109x109.png +0 -0
  12. grids/1024x1024/1024x1024_10x10.png +0 -0
  13. grids/1024x1024/1024x1024_110x110.png +0 -0
  14. grids/1024x1024/1024x1024_111x111.png +0 -0
  15. grids/1024x1024/1024x1024_112x112.png +0 -0
  16. grids/1024x1024/1024x1024_113x113.png +0 -0
  17. grids/1024x1024/1024x1024_114x114.png +0 -0
  18. grids/1024x1024/1024x1024_115x115.png +0 -0
  19. grids/1024x1024/1024x1024_116x116.png +0 -0
  20. grids/1024x1024/1024x1024_117x117.png +0 -0
  21. grids/1024x1024/1024x1024_118x118.png +0 -0
  22. grids/1024x1024/1024x1024_119x119.png +0 -0
  23. grids/1024x1024/1024x1024_11x11.png +0 -0
  24. grids/1024x1024/1024x1024_120x120.png +0 -0
  25. grids/1024x1024/1024x1024_121x121.png +0 -0
  26. grids/1024x1024/1024x1024_122x122.png +0 -0
  27. grids/1024x1024/1024x1024_123x123.png +0 -0
  28. grids/1024x1024/1024x1024_124x124.png +0 -0
  29. grids/1024x1024/1024x1024_125x125.png +0 -0
  30. grids/1024x1024/1024x1024_126x126.png +0 -0
  31. grids/1024x1024/1024x1024_127x127.png +0 -0
  32. grids/1024x1024/1024x1024_128x128.png +0 -0
  33. grids/1024x1024/1024x1024_129x129.png +0 -0
  34. grids/1024x1024/1024x1024_12x12.png +0 -0
  35. grids/1024x1024/1024x1024_130x130.png +0 -0
  36. grids/1024x1024/1024x1024_131x131.png +0 -0
  37. grids/1024x1024/1024x1024_132x132.png +0 -0
  38. grids/1024x1024/1024x1024_133x133.png +0 -0
  39. grids/1024x1024/1024x1024_134x134.png +0 -0
  40. grids/1024x1024/1024x1024_135x135.png +0 -0
  41. grids/1024x1024/1024x1024_136x136.png +0 -0
  42. grids/1024x1024/1024x1024_137x137.png +0 -0
  43. grids/1024x1024/1024x1024_138x138.png +0 -0
  44. grids/1024x1024/1024x1024_139x139.png +0 -0
  45. grids/1024x1024/1024x1024_13x13.png +0 -0
  46. grids/1024x1024/1024x1024_140x140.png +0 -0
  47. grids/1024x1024/1024x1024_141x141.png +0 -0
  48. grids/1024x1024/1024x1024_142x142.png +0 -0
  49. grids/1024x1024/1024x1024_143x143.png +0 -0
  50. grids/1024x1024/1024x1024_144x144.png +0 -0
README.md CHANGED
@@ -26,7 +26,7 @@ Too low or too high of a "Steps" value breaks the model. Try something like 15-3
26
 
27
  To install, copy the `.safetensors` and `.yaml` files to your Automatic1111 ControlNet extension's model directory (e.g. `stable-diffusion-webui/extensions/sd-webui-controlnet/models`). Completely restart the Automatic1111 server after doing this and then refresh the web page.
28
 
29
- There is no preprocessor. Instead, supply a black and white checkerboard image as the control input. Examples are in the `example-control-images` directory of this repository. (https://huggingface.co/thomaseding/pixelnet/tree/main/example-control-images)
30
 
31
  The script `gen_checker.py` can be used to generate checkerboard images of arbitrary sizes. (https://huggingface.co/thomaseding/pixelnet/blob/main/gen_checker.py) Example: `python gen_checker.py --upscale-dims 512x512 --dims 70x70 --output-file control.png` to generate a 70x70 checkerboard image upscaled to 512x512 pixels.
32
 
@@ -34,6 +34,10 @@ The script `controlled_downscale.py` is a custom downscaler made specifically fo
34
 
35
  ### FAQ:
36
 
 
 
 
 
37
  Q: Why is this needed? Can't I use a post-processor to downscale the image?
38
 
39
  A: From my experience SD has a hard time creating genuine pixel art (even with dedicated base models and loras), where it has a mismatch of logical pixel sizes, smooth curves, etc. What appears to be a straight line at a glance, might bend around. This can cause post-processors to create artifacts based on quantization rounding a pixel to a position one pixel off in some direction. This model is intended to help fix that.
 
26
 
27
  To install, copy the `.safetensors` and `.yaml` files to your Automatic1111 ControlNet extension's model directory (e.g. `stable-diffusion-webui/extensions/sd-webui-controlnet/models`). Completely restart the Automatic1111 server after doing this and then refresh the web page.
28
 
29
+ There is no preprocessor. Instead, supply a black and white checkerboard image as the control input. Various control image grids can be found in this repository's `grids` directory. (https://huggingface.co/thomaseding/pixelnet/tree/main/grids)
30
 
31
  The script `gen_checker.py` can be used to generate checkerboard images of arbitrary sizes. (https://huggingface.co/thomaseding/pixelnet/blob/main/gen_checker.py) Example: `python gen_checker.py --upscale-dims 512x512 --dims 70x70 --output-file control.png` to generate a 70x70 checkerboard image upscaled to 512x512 pixels.
32
 
 
34
 
35
  ### FAQ:
36
 
37
+ Q: Png or Jpeg?
38
+
39
+ A: Use Png. Jpeg's compression algorithm is terrible for pixel art.
40
+
41
  Q: Why is this needed? Can't I use a post-processor to downscale the image?
42
 
43
  A: From my experience SD has a hard time creating genuine pixel art (even with dedicated base models and loras), where it has a mismatch of logical pixel sizes, smooth curves, etc. What appears to be a straight line at a glance, might bend around. This can cause post-processors to create artifacts based on quantization rounding a pixel to a position one pixel off in some direction. This model is intended to help fix that.
grids/1024x1024/1024x1024_100x100.png ADDED
grids/1024x1024/1024x1024_101x101.png ADDED
grids/1024x1024/1024x1024_102x102.png ADDED
grids/1024x1024/1024x1024_103x103.png ADDED
grids/1024x1024/1024x1024_104x104.png ADDED
grids/1024x1024/1024x1024_105x105.png ADDED
grids/1024x1024/1024x1024_106x106.png ADDED
grids/1024x1024/1024x1024_107x107.png ADDED
grids/1024x1024/1024x1024_108x108.png ADDED
grids/1024x1024/1024x1024_109x109.png ADDED
grids/1024x1024/1024x1024_10x10.png ADDED
grids/1024x1024/1024x1024_110x110.png ADDED
grids/1024x1024/1024x1024_111x111.png ADDED
grids/1024x1024/1024x1024_112x112.png ADDED
grids/1024x1024/1024x1024_113x113.png ADDED
grids/1024x1024/1024x1024_114x114.png ADDED
grids/1024x1024/1024x1024_115x115.png ADDED
grids/1024x1024/1024x1024_116x116.png ADDED
grids/1024x1024/1024x1024_117x117.png ADDED
grids/1024x1024/1024x1024_118x118.png ADDED
grids/1024x1024/1024x1024_119x119.png ADDED
grids/1024x1024/1024x1024_11x11.png ADDED
grids/1024x1024/1024x1024_120x120.png ADDED
grids/1024x1024/1024x1024_121x121.png ADDED
grids/1024x1024/1024x1024_122x122.png ADDED
grids/1024x1024/1024x1024_123x123.png ADDED
grids/1024x1024/1024x1024_124x124.png ADDED
grids/1024x1024/1024x1024_125x125.png ADDED
grids/1024x1024/1024x1024_126x126.png ADDED
grids/1024x1024/1024x1024_127x127.png ADDED
grids/1024x1024/1024x1024_128x128.png ADDED
grids/1024x1024/1024x1024_129x129.png ADDED
grids/1024x1024/1024x1024_12x12.png ADDED
grids/1024x1024/1024x1024_130x130.png ADDED
grids/1024x1024/1024x1024_131x131.png ADDED
grids/1024x1024/1024x1024_132x132.png ADDED
grids/1024x1024/1024x1024_133x133.png ADDED
grids/1024x1024/1024x1024_134x134.png ADDED
grids/1024x1024/1024x1024_135x135.png ADDED
grids/1024x1024/1024x1024_136x136.png ADDED
grids/1024x1024/1024x1024_137x137.png ADDED
grids/1024x1024/1024x1024_138x138.png ADDED
grids/1024x1024/1024x1024_139x139.png ADDED
grids/1024x1024/1024x1024_13x13.png ADDED
grids/1024x1024/1024x1024_140x140.png ADDED
grids/1024x1024/1024x1024_141x141.png ADDED
grids/1024x1024/1024x1024_142x142.png ADDED
grids/1024x1024/1024x1024_143x143.png ADDED
grids/1024x1024/1024x1024_144x144.png ADDED