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.0.0.tar.gz
(121.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.0.0-py3-none-any.whl
(136.4 kB
view details)
File details
Details for the file resselt-1.0.0.tar.gz.
File metadata
- Download URL: resselt-1.0.0.tar.gz
- Upload date:
- Size: 121.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdcccedc75e38d3c66c3ce49ed3a0b63abff5e32b7bc664354bb8e791499ee78
|
|
| MD5 |
b2f86725f301c154de2f634cd7ce4706
|
|
| BLAKE2b-256 |
3a18cf548151c3f332d27272f0e4e7033d9188f4daf80f94d9146e9b4eab1d24
|
File details
Details for the file resselt-1.0.0-py3-none-any.whl.
File metadata
- Download URL: resselt-1.0.0-py3-none-any.whl
- Upload date:
- Size: 136.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5244dda30215e4bc452a7625ae12a3c93bf2d25e78d5f44cb8d7ce3a8cf827e
|
|
| MD5 |
45a513109c0fac15fbeb60818fc6e880
|
|
| BLAKE2b-256 |
ea87e7877ec66fccab2a28774e268a245bbc52bd43041596d085ebb380f24c8a
|