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
Metadata
Release files for resselt 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| resselt-1.4.1.tar.gz | 178.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| resselt-1.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 364.9 kB
Release files / resselt-1.4.1.tar.gz
| Download URL | resselt-1.4.1.tar.gz |
|---|---|
| Size | 178.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d33b0a095bde3ccc5696a6d5b5d09496f4ab923900023ea0845fa41338e195e
|
|
BLAKE2b-256 checksum How to use checksums |
b7a77967f73cf12179035810df12b10174ac7c70e1766a9ad9b4d30c9a732499
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / resselt-1.4.1-py3-none-any.whl
| Download URL | resselt-1.4.1-py3-none-any.whl |
|---|---|
| Size | 186.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d2f4d11eb5a0d78f59f7fd849a93013e832b9531d8ffb6e09b1319fdd397187
|
|
BLAKE2b-256 checksum How to use checksums |
e29091e7aed4650cb827118bbde13df418d2010866ae085d20ae1f29167cd43f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|