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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for resselt-1.2.0.tar.gz
Algorithm Hash digest
SHA256 677d535761113b1f0eadc1006e961516e44cb6120d6c9247db594962cf043791
MD5 cbb1e0d1d41474d1682d0b930d07718d
BLAKE2b-256 1358bbc6115e071db43f3f75295cd7679e7e01e0e7498ea47d15051c79fca6cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: resselt-1.2.0-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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2abd59d8e1267c4518cb02267341b75cce02278d6873987cbdb20831b09e6e92
MD5 f61cbbace93525f16712cc5cbdf7f067
BLAKE2b-256 9f3968676686e15525ebcdf48719177be1fbd5e34a5e4911e21428a8c1a6ecc4

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