Files
2024-06-01 12:59:53 +08:00

41 lines
820 B
Markdown

# ComfyUI-RGT
This repo cast **Recursive Generalization Transformer for Image Super-Resolution** to ComfyUI, the original [paper link](https://arxiv.org/abs/2303.06373) and [github link](https://github.com/zhengchen1999/RGT)
# Usage
## Install
```
cd comfyui/custom_nodes
git clone https://github.com/viperyl/ComfyUI-RGT.git
cd ComfyUI-RGT
pip install -r requirements.txt
```
model download from huggingface
```
# optional, make sure you have installed git lfs
# git lfs install
cd ComfyUI/models/
git clone https://huggingface.co/ViperYX/RGT
```
## Example
an example workflow in `workflow` folder
![](assets/image.png)
## Parameters
```
model_type: RGT and RGT-S model, former one usually better then the RGT-S
upsacle: x2, x3, x4 upscale
use_chop: process image with tiled operation, save lots vram
```