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.1.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.1-py3-none-any.whl
(186.2 kB
view details)
File details
Details for the file resselt-1.4.1.tar.gz.
File metadata
- Download URL: resselt-1.4.1.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 |
9d33b0a095bde3ccc5696a6d5b5d09496f4ab923900023ea0845fa41338e195e
|
|
| MD5 |
f10c653687e4c0adea7e7d37322dd27f
|
|
| BLAKE2b-256 |
b7a77967f73cf12179035810df12b10174ac7c70e1766a9ad9b4d30c9a732499
|
File details
Details for the file resselt-1.4.1-py3-none-any.whl.
File metadata
- Download URL: resselt-1.4.1-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 |
7d2f4d11eb5a0d78f59f7fd849a93013e832b9531d8ffb6e09b1319fdd397187
|
|
| MD5 |
371f842e260cb675c049a7638c399708
|
|
| BLAKE2b-256 |
e29091e7aed4650cb827118bbde13df418d2010866ae085d20ae1f29167cd43f
|