JingyunLiang / SwinIR

SwinIR: Image Restoration Using Swin Transformer (official repository)

Home Page:https://arxiv.org/abs/2108.10257

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upscale whole folder on Windows

Agamemnoid opened this issue · comments

Hi, I'm trying to figure out how to batch upscale a folder of images in Windows but for the life of me I cannot figure out how. Can anybody help me with a command or batch file that will do it from the root of the git download?

Apologies, this is what does what I'm looking for. Custom folder is just called Ag. I think I glossed over it the first time because of the --tile parameter which was failing without an argument obviously.

python main_test_swinir.py --task real_sr --scale 4 --large_model --model_path model_zoo/swinir/003_realSR_BSRGAN_DFOWMFC_s64w8_SwinIR-L_x4_GAN.pth --folder_lq testsets/Ag