comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
55.82k stars 5.89k forks source link

Add Upscaler + more documentation? #41

Closed esloc03 closed 4 months ago

esloc03 commented 1 year ago

This UI is amazing! :) Which folder can I add my own upscaler such as 4x-AnimeSharp? - Also is there more documentation on this UI? I'd love to read it!

comfyanonymous commented 1 year ago

ESRGAN support is coming soon so is better documentation.

For now the only documentation is the README and the examples page: https://comfyanonymous.github.io/ComfyUI_examples/

comfyanonymous commented 1 year ago

ESRGAN/etc... support is implemented now so you should be able to use your own upscale models: https://comfyanonymous.github.io/ComfyUI_examples/upscale_models/

jwvanderbeck commented 1 year ago

How do you specify the upscale amount?

comfyanonymous commented 1 year ago

Upscale models have a fixed scale amount that can't be changed. If you want a specific resolution you have to ImageScale after.

angelmankel commented 1 year ago

@comfyanonymous Is there a specific reason why its set to a fixed amount?

ltdrdata commented 1 year ago

@comfyanonymous Is there a specific reason why its set to a fixed amount?

The question was incorrect. The scaling of the size is determined by the model itself. ComfyUI does not intervene in sizing at all. Many people transitioning from A1111 often find this aspect confusing. A1111 implicitly handles the process of upscaling and downscaling through the model. In ComfyUI, this process is not hidden; rather, an "Image Scale" node is explicitly attached to handle it.

robinjhuang commented 4 months ago

Closing the issue. Please reopen if not resolved.