aboutsummaryrefslogtreecommitdiffstats
path: root/extensions-builtin/SwinIR/scripts/swinir_model.py
AgeCommit message (Collapse)AuthorLines
2024-01-03SwinIR: pass model.scaleAarni Koskela-1/+1
2024-01-03SwinIR: use prefer_halfAarni Koskela-1/+2
2024-01-02Refactor upscale_2 helper out of ScuNET/SwinIR; make sure devices are rightAarni Koskela-54/+8
2023-12-31Deduplicate tiled inference code from SwinIR/ScuNETAarni Koskela-52/+5
2023-12-31Be more clear about Spandrel model nomenclatureAarni Koskela-3/+3
2023-12-30Verify architecture for loaded Spandrel modelsAarni Koskela-0/+1
2023-12-30Use Spandrel for upscaling and face restoration architectures (aside from ↵Aarni Koskela-66/+60
GFPGAN and LDSR)
2023-07-09add option SWIN_torch_compile to accelerate SwinIR upscale using torch.compile()SiYu Wu-6/+23
2023-07-08added torch.mps.empty_cache() to torch_gc()AUTOMATIC1111-4/+1
changed a bunch of places that use torch.cuda.empty_cache() to use torch_gc() instead
2023-06-13Remove stray space from SwinIR model URLAarni Koskela-3/+2
2023-06-13Upscaler.load_model: don't return None, just use exceptionsAarni Koskela-20/+20
2023-06-13Fix up `if "http" in ...:` to be more sensible startswithsAarni Koskela-2/+2
2023-06-13Move `load_file_from_url` to modelloaderAarni Koskela-3/+5
2023-05-19change upscalers to download models into user-specified directory (from ↵AUTOMATIC-1/+1
commandline args) rather than the default models/<...>
2023-05-11Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela-1/+1
2023-05-10imports cleanup for ruffAUTOMATIC-2/+1
2023-05-10manual fixes for ruffAUTOMATIC-1/+1
2023-01-23Also make SwinIR skippablecatboxanon-2/+2
2023-01-23Make SwinIR interruptiblecatboxanon-1/+7
2022-12-03fix accessing options when they are not ready for SwinIR.AUTOMATIC-2/+6
2022-12-03add built-in extension systemAUTOMATIC-0/+168
add support for adding upscalers in extensions move LDSR, ScuNET and SwinIR to built-in extensions