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.3.tar.gz (147.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.1.3-py3-none-any.whl (145.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for resselt-1.1.3.tar.gz
Algorithm Hash digest
SHA256 502805a020aaf31d4739106a0f45bea51dcfa054846716bb45560342435b7d55
MD5 3cc0fc9f025b17ffaf6d51a17504ef98
BLAKE2b-256 6f2bdb0d87437d5f2342c7826c8cc4ce7112bbdd281329937b21b1c4b56ba8ae

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for resselt-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bd965a3f7bfff709a0c62315b01c12b6a80ecd13be4af1a20c07cf61ec0814e3
MD5 90b83f2e937c355b150a00f1f5da986e
BLAKE2b-256 3a9cf49b4766157efda296888d8dcc359f134c0d4d9b040fdf0a6d2ad7bc6e83

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