Image Super-Resolution PyTorch architectures loader
Project description
resselt
Usage
import torch
from resselt import load_from_file, load_from_state_dict
# Load model from file
model = load_from_file("spanplus_2x.pth")
# or from state dict
state_dict = torch.load("spanplus_2x.pth")
model = load_from_state_dict(state_dict)
# and after you can get model metadata: ModelMetadata(name, in_channels, out_channels, upscale)
print(model.parameters_info)
Credits
- Based on chaiNNer-org/spandrel
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
resselt-1.1.3.tar.gz
(147.7 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
resselt-1.1.3-py3-none-any.whl
(145.1 kB
view details)
File details
Details for the file resselt-1.1.3.tar.gz.
File metadata
- Download URL: resselt-1.1.3.tar.gz
- Upload date:
- Size: 147.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
502805a020aaf31d4739106a0f45bea51dcfa054846716bb45560342435b7d55
|
|
| MD5 |
3cc0fc9f025b17ffaf6d51a17504ef98
|
|
| BLAKE2b-256 |
6f2bdb0d87437d5f2342c7826c8cc4ce7112bbdd281329937b21b1c4b56ba8ae
|
File details
Details for the file resselt-1.1.3-py3-none-any.whl.
File metadata
- Download URL: resselt-1.1.3-py3-none-any.whl
- Upload date:
- Size: 145.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd965a3f7bfff709a0c62315b01c12b6a80ecd13be4af1a20c07cf61ec0814e3
|
|
| MD5 |
90b83f2e937c355b150a00f1f5da986e
|
|
| BLAKE2b-256 |
3a9cf49b4766157efda296888d8dcc359f134c0d4d9b040fdf0a6d2ad7bc6e83
|