This model requires you to accept the Apache 2.0 license terms before download.
Description
SwinIR Classical x2 - Swin Transformer image-restoration model for 2x super-resolution, reconstructing sharp high-resolution detail from low-resolution images. Works at any input size. Apache 2.0.
Tags
At a glance
| Kind | image upscaler |
|---|---|
| Precision | float32 |
| Container size | 42.7 MiB |
| Weights inside | 64.0 MiB |
| Components | 1 |
| Licence | Apache 2.0 |
| Origin | JingyunLiang/SwinIR @ unrecorded |
What is inside the container
A .nbx container packs every part of SwinIR-001_classicalSR_DF2K_s64w8_SwinIR-M_x2 — its single component with weights, graphs and runtime settings — so one file is all the runtime needs.
| Component | Blocks | Layers | Weights |
|---|---|---|---|
| model | 0 | — | 64.0 MiB |
Memory needed
The weights of SwinIR-001_classicalSR_DF2K_s64w8_SwinIR-M_x2 take 64.0 MiB in float32. That is the floor for the memory the runtime has to place, spread over the devices it finds; activations come on top and grow with the size and length you ask for. A measured peak per device class is not published for this model yet.
Verify what you downloaded
Every download carries its SHA-256, and the file endpoint sends it in the X-NBX-SHA256 header. The container is 42.7 MiB (44,813,539 bytes).
$ sha256sum SwinIR-001_classicalSR_DF2K_s64w8_SwinIR-M_x2.nbx
06840f158303c2afa9662f9374bf9f70c988c51c6605ea2f7bb5b0be744aead3
Questions
What is SwinIR-001_classicalSR_DF2K_s64w8_SwinIR-M_x2?
A image upscaler by JingyunLiang, distributed as a float32 .nbx container and licensed Apache 2.0.
How big is the download?
42.7 MiB, of which 64.0 MiB are weights.
How do I run it?
Install the runtime from the download page, then use the commands under “CLI Usage” below: neurobrix import JingyunLiang/SwinIR-001_classicalSR_DF2K_s64w8_SwinIR-M_x2, then neurobrix serve --model SwinIR-001_classicalSR_DF2K_s64w8_SwinIR-M_x2.
CLI Usage
$ neurobrix import JingyunLiang/SwinIR-001_classicalSR_DF2K_s64w8_SwinIR-M_x2
$ neurobrix serve --model SwinIR-001_classicalSR_DF2K_s64w8_SwinIR-M_x2
$ neurobrix run --prompt "your prompt here"
$ neurobrix stop