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.2.tar.gz
(144.0 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.2-py3-none-any.whl
(138.4 kB
view details)
File details
Details for the file resselt-1.1.2.tar.gz.
File metadata
- Download URL: resselt-1.1.2.tar.gz
- Upload date:
- Size: 144.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b21d6a0e66e5f991254dd76943336d1eeba9f83bb3944f150f190b116b0b6993
|
|
| MD5 |
8fd4ff9c1d4e7ae0794c78ec2f58bb64
|
|
| BLAKE2b-256 |
6b142c54d1344a46213a991316ec3e89149661f10c41d78a98c6eee8c09a2955
|
File details
Details for the file resselt-1.1.2-py3-none-any.whl.
File metadata
- Download URL: resselt-1.1.2-py3-none-any.whl
- Upload date:
- Size: 138.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b2f94f698619862babf8eaed51680fa05f971974ee8feb774ec42366fb9364f
|
|
| MD5 |
02b65c4be9d633861b38d23969be8ada
|
|
| BLAKE2b-256 |
5a6a705cd9b8bfb035f75a8a53f14d1c86f10118c070dfa8f13d93155cefdd5d
|