Skip to main content

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

Project details


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.0.tar.gz (139.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

resselt-1.1.0-py3-none-any.whl (136.6 kB view details)

Uploaded Python 3

File details

Details for the file resselt-1.1.0.tar.gz.

File metadata

  • Download URL: resselt-1.1.0.tar.gz
  • Upload date:
  • Size: 139.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.14

File hashes

Hashes for resselt-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e391af6b78270089977aab97ef4457c2119eb9577853c433f50c3b2f1e7608bb
MD5 8ead5ecaa6f51a32e025970cd3206c63
BLAKE2b-256 81dff946e0c34172c54107b84bdff76b58c6de2d35204b229fef5203f7e67e57

See more details on using hashes here.

File details

Details for the file resselt-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: resselt-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 136.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.14

File hashes

Hashes for resselt-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5700579702f06be29c46e221e076acd2837159d7e608e9735789d5770ac7c53
MD5 72a5f803d41f23f657fd2e0021b9fd28
BLAKE2b-256 b778b10e023981a25906436522254e54185fd94c2a94adb2ad3ad98ff38ab2cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page