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.0.0.tar.gz (121.7 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.0.0-py3-none-any.whl (136.4 kB view details)

Uploaded Python 3

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

Hashes for resselt-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cdcccedc75e38d3c66c3ce49ed3a0b63abff5e32b7bc664354bb8e791499ee78
MD5 b2f86725f301c154de2f634cd7ce4706
BLAKE2b-256 3a18cf548151c3f332d27272f0e4e7033d9188f4daf80f94d9146e9b4eab1d24

See more details on using hashes here.

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

Hashes for resselt-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5244dda30215e4bc452a7625ae12a3c93bf2d25e78d5f44cb8d7ce3a8cf827e
MD5 45a513109c0fac15fbeb60818fc6e880
BLAKE2b-256 ea87e7877ec66fccab2a28774e268a245bbc52bd43041596d085ebb380f24c8a

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