Skip to main content

Usage

from resselt import load_from_file
from resr.tiling import process_tiles, ExactTileSize
from pepeline import read, save

model = load_from_file('4x_spanplus.pth')

tiler = ExactTileSize(512)

img = read('image.png')
img = process_tiles(img, tiler=tiler, model=model, scale=model.parameters_info.upscale)
save(img, 'output.png')

Metadata

Release files for resr 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for resr 1.1.0
File Size Uploaded
resr-1.1.0.tar.gz 45.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for resr 1.1.0
File Interpreter ABI Platform
resr-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 52.6 kB

Release files / resr-1.1.0.tar.gz

Download URL resr-1.1.0.tar.gz
Size 45.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b9cdf12c7336b0b302fb3ff28a54991222e29e6342b219db8ac3995930858c61
BLAKE2b-256 checksum
How to use checksums
9192ea39ab51e66fcb09900788e5c598ad799eab41e004d3066e38dac479fcd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / resr-1.1.0-py3-none-any.whl

Download URL resr-1.1.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47a42a1b800661c988317f88e8c61d46d2060e37c834f8ab7c9875cdf1ad2b86
BLAKE2b-256 checksum
How to use checksums
d56a99fff141a193668311e9645622c2c46eeaebb5f919eec82ab994da9db17b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page