You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added support for using chainner compatible upscaling / restoration models to my CLI stable diffusion tool recently. It is a batch generation tool focused on mass generation of images, and automating image generation tasks via scripting, which is used entirely from the command line.
The models from OpenModelDB can be used as a post-processor or pre-processor for diffusion based image generation, or standalone on images, animated images, and videos.
It is implemented in a generic way along side various other image processors in the command line tool which can be used in a similar manner.
It uses tiled upscaling similar to ComfyUI, the code for this is adapted from chainner
I saw on the website a listing of compatible software, and to create a ticket.
I figured it might be of interest, I have been working on this for fun :)
The text was updated successfully, but these errors were encountered:
Teriks
changed the title
Project with support using chaiNNer compatible models from the command line (site addition?)
Project with support for using chaiNNer compatible models from the command line (site addition?)
Dec 14, 2023
Neat peoject. FYI we recently moved all our model related code out of chaiNNer and into a new package called spandrel which we recommend using instead of vendoring all that code. Using that will get you support for more models. It should be pretty easy to swap over. For an example, check out my currently ignored PR I made for comfyui
I'll definitely check that out, I think something similar should probably be done for ControlNet annotators as controlnet_aux seems somewhat unmaintained and the detectors implemented there are very useful. I have abstracted image processors so it should be easy to swap it out, but it might take me a bit to look at it
Neat peoject. FYI we recently moved all our model related code out of chaiNNer and into a new package called spandrel which we recommend using instead of vendoring all that code. Using that will get you support for more models. It should be pretty easy to swap over. For an example, check out my currently ignored PR I made for comfyui
this is a much easier change to make than I had figured, so I will definitely be swapping it over after some testing, it seems like it drops in just fine 👍
I added support for using chainner compatible upscaling / restoration models to my CLI stable diffusion tool recently. It is a batch generation tool focused on mass generation of images, and automating image generation tasks via scripting, which is used entirely from the command line.
The models from OpenModelDB can be used as a post-processor or pre-processor for diffusion based image generation, or standalone on images, animated images, and videos.
It is implemented in a generic way along side various other image processors in the command line tool which can be used in a similar manner.
It uses tiled upscaling similar to ComfyUI, the code for this is adapted from chainner
I saw on the website a listing of compatible software, and to create a ticket.
I figured it might be of interest, I have been working on this for fun :)
https://github.com/Teriks/dgenerate
Some example uses with the upscaler image processor:
https://github.com/Teriks/dgenerate/tree/v3.0.2?tab=readme-ov-file#upscaling-with-chainner-compatible-upscaler-models
https://github.com/Teriks/dgenerate/blob/v3.0.2/examples/stablediffusion_xl/postprocessors/upscaler-config.txt
https://github.com/Teriks/dgenerate/blob/v3.0.2/examples/config_directives/image_process/upscaler-config.txt
Latest Windows Installer:
https://github.com/Teriks/dgenerate/releases/tag/v3.0.2
The text was updated successfully, but these errors were encountered: