QuickSRNet

QuickSRNet upsamples an image by a factor of two.

Tasks
restoration
Sizes
m2 at 64 px
Install
pip install libreyolo
Support tier
Inference only, since v1.6.0. Predict, validate and export only. Training features do not apply.
Licenses
Code MIT, weights BSD-3-Clause. Commercial use

Install

bash
pip install "libreyolo"

Predict

Python
from libreyolo import LibreYOLO, SAMPLE_IMAGE model = LibreYOLO("LibreQuickSRNetm2-restore.pt", device="cpu")result = model(SAMPLE_IMAGE)result.restored.save("upscaled.png")

The Medium 2x model preserves native input resolution and doubles each spatial dimension. Validation uses paired low/high-resolution images and reports PSNR and SSIM. ONNX supports dynamic spatial shapes; TorchScript uses a fixed canvas. Training is not supported.

Validate

Python
from libreyolo import LibreYOLO, SAMPLE_IMAGE model = LibreYOLO("LibreQuickSRNetm2-restore.pt", device="cpu")# Paired super-resolution dataset YAML: inputs/val low-res images, targets/val 2x high-res imagesmetrics = model.val(data="path/to/your/restore.yaml", workers=0)print(metrics)

Use the dataset format for this task. Validation explains the dataset requirements and returned metrics.

Export

TaskONNXTorchScriptExecuTorchTensorRTOpenVINOPaddleMNNRKNNncnnTFLiteCoreMLCore AI
RestorationRestoration to ONNX: supportedRestoration to TorchScript: supportedRestoration to ExecuTorch: supportedRestoration to TensorRT: supportedRestoration to OpenVINO: supportedRestoration to Paddle: not supportedRestoration to MNN: not supportedRestoration to RKNN: not supportedRestoration to ncnn: supportedRestoration to TFLite: not supportedRestoration to CoreML: not supportedRestoration to Core AI: not supported
Python
from libreyolo import LibreYOLO, SAMPLE_IMAGE model = LibreYOLO("LibreQuickSRNetm2-restore.pt", device="cpu")model.export(format="onnx")

Export setup lists format dependencies and loading exported artifacts.

Checkpoints

FileWeights license
Restoration
LibreQuickSRNetm2-restore.ptbsd-3-clause

Every file above exists in the LibreYOLO org today and downloads on first use.

Licensing

Check the license on the Hugging Face repository of the specific weights you download. Every checkpoint in the LibreYOLO org carries one, and they are not always the same across a family. That repository is the authoritative source; the summary below describes what applied when this page was last verified.

This is a description of the licenses involved, not legal advice. If the answer matters commercially, read the licenses yourself and take your own counsel.

Original work
QuickSRNet, Qualcomm
Upstream license
BSD-3-Clause
LibreYOLO code
MIT
Weights
BSD-3-Clause, republished at huggingface.co/LibreYOLO
Interpretation
The source and released weights retain the publisher's BSD-3-Clause terms.

Verified against LibreYOLO v1.6.0. Support tables, checkpoints and benchmark numbers on this page are generated from the released library and the published weights, not written by hand.

QuickSRNet architecture

Select a variant or family overview, then select a block for details. Open the full diagram to zoom or download SVG and PNG.