torchsr
Super Resolution Networks for pytorch
Decision gist · record as of 2026-08-14
Yes, if you need pretrained super-resolution models and can tolerate dormant maintenance. The package is stable, has no known vulnerabilities, and low install friction. However, verify that pretrained weights remain accessible and that it works with your PyTorch version—no updates have landed since August 2022, so compatibility with very recent PyTorch releases is uncertain.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with only torch and torchvision as runtime dependencies.
- Maintenance is dormant—last release was 2022-08-21 and last commit 2023-12-23, over a year ago, though the repository remains active and unarchived.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions.
last release 2022-08-21 (1454 days) · last repo commit 2023-12-23 · 214 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 85,066 downloads/mo, #13,955 on PyPI
Alternatives
Verify before relying
pip install torchsr
from torchsr.models import ninasr_b0
from torchsr.datasets import Div2K
model = ninasr_b0(scale=2, pretrained=True)
dataset = Div2K(root="./data", scale=2, download=True)
hr, lr = dataset[0]- Whether pretrained model weights are still accessible and not hosted on deprecated servers
- Compatibility with recent PyTorch and torchvision versions released after 2023-12-23
- Whether the package will receive maintenance or security updates in the future
What it is and what it does
torchsr is a PyTorch library that bundles pretrained models for image super-resolution—the task of increasing image resolution by inferring missing details using trained neural networks. It includes five model architectures (EDSR, CARN, RDN, RCAN, NinaSR) with different size-to-accuracy tradeoffs, ranging from 0.10M to 40.7M parameters. The library also provides common super-resolution datasets (DIV2K, Set5, Set14, B100, Urban100, RealSR, Flicr2K, REDS) with automatic download, data augmentation utilities, and a unified training script.
You load a pretrained model, pass low-resolution images through it, and receive upscaled output. The package is designed for researchers and practitioners who want to apply or benchmark super-resolution without building models from scratch. It depends only on torch and torchvision, making it straightforward to integrate into existing PyTorch workflows.
Use it for
- Upscale low-resolution photographs or screenshots to higher resolution for archival or display purposes
- Benchmark different super-resolution architectures on standard datasets to compare accuracy and speed tradeoffs
- Fine-tune a pretrained model on custom degraded image data for domain-specific super-resolution tasks
- Integrate super-resolution preprocessing into image analysis pipelines to improve downstream model performance on low-quality inputs
- Research super-resolution techniques by training models on provided datasets with the unified training script
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need pretrained super-resolution models and can tolerate dormant maintenance.
The package is stable, has no known vulnerabilities, and low install friction. However, verify that pretrained weights remain accessible and that it works with your PyTorch version—no updates have landed since August 2022, so compatibility with very recent PyTorch releases is uncertain.
Install
torchsr on PyPI
Before you install
Low install friction with only torch and torchvision as runtime dependencies. Maintenance is dormant—last release was 2022-08-21 and last commit 2023-12-23, over a year ago, though the repository remains active and unarchived.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions.
Quickstart
pip install torchsr
from torchsr.models import ninasr_b0
from torchsr.datasets import Div2K
model = ninasr_b0(scale=2, pretrained=True)
dataset = Div2K(root="./data", scale=2, download=True)
hr, lr = dataset[0]
Verify before relying
- Whether pretrained model weights are still accessible and not hosted on deprecated servers
- Compatibility with recent PyTorch and torchvision versions released after 2023-12-23
- Whether the package will receive maintenance or security updates in the future
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagestorchtorchvision |
| Maintenance | Dormant 1,454 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 85,066 / month, #13,955 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3 |
Evidence: torchsr-1.0.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “image super-resolution pytorch”
- torchsrProvides pretrained neural network models for image super-resolution…
- realesrganReal-ESRGAN upscales images and videos using deep learning models…
- resize-rightResizes images or tensors in NumPy or PyTorch with differentiable…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also basicsr · pytorchcv · pytorch-forecasting · torch · pytorch-msssim · spandrel-extra-arches · pytorch_revgrad · pretrainedmodels · efficientnet-pytorch · spandrel