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.4.0.tar.gz
(178.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.4.0-py3-none-any.whl
(186.2 kB
view details)
File details
Details for the file resselt-1.4.0.tar.gz.
File metadata
- Download URL: resselt-1.4.0.tar.gz
- Upload date:
- Size: 178.7 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc69d92bf91ae6b5f740a096866252d76026b11cadcc54247e95a231148b0e0d
|
|
| MD5 |
93abcbd617c5bcc40acbcc8f29933e0e
|
|
| BLAKE2b-256 |
952db7851ca719c89ea4524ed945aa19a5b27c9b1c22c3b5b0c16898c28215d5
|
File details
Details for the file resselt-1.4.0-py3-none-any.whl.
File metadata
- Download URL: resselt-1.4.0-py3-none-any.whl
- Upload date:
- Size: 186.2 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb91f13cb49ec3ff0eee1b63ae1f387033d756e212f1bbfd48a5c5dc81c0c7f2
|
|
| MD5 |
e8e27cef318e5b53dbf04fcf0a16d372
|
|
| BLAKE2b-256 |
3b0e36411d955d60478288a7744aac1a1c4850e180894d62657464a03598f7bc
|