No project description provided
Project description
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')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
resr-1.1.0.tar.gz
(45.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
resr-1.1.0-py3-none-any.whl
(7.3 kB
view details)
File details
Details for the file resr-1.1.0.tar.gz.
File metadata
- Download URL: resr-1.1.0.tar.gz
- Upload date:
- Size: 45.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9cdf12c7336b0b302fb3ff28a54991222e29e6342b219db8ac3995930858c61
|
|
| MD5 |
6c785e1d6a99c4c9b55a1caef413e711
|
|
| BLAKE2b-256 |
9192ea39ab51e66fcb09900788e5c598ad799eab41e004d3066e38dac479fcd8
|
File details
Details for the file resr-1.1.0-py3-none-any.whl.
File metadata
- Download URL: resr-1.1.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47a42a1b800661c988317f88e8c61d46d2060e37c834f8ab7c9875cdf1ad2b86
|
|
| MD5 |
f0fffa36497d39d0cac4403638688fdc
|
|
| BLAKE2b-256 |
d56a99fff141a193668311e9645622c2c46eeaebb5f919eec82ab994da9db17b
|