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.1.tar.gz (139.6 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.1-py3-none-any.whl (136.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for resselt-1.0.1.tar.gz
Algorithm Hash digest
SHA256 70e597c9bd2b205bce6803a15bb73e13a3d27b2ca3a9576b6f9e39ffd5e4e04c
MD5 7922a4262bb1c4310b90c79f9626c0d4
BLAKE2b-256 d9fa1ff952f936459051bb3b474127b7ea0a57d93fb0312fcca6b624779b690f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for resselt-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f65ca44dbdc061218d582f5321ffb002d11e1081c8ae7e9e06398fe94751aef6
MD5 cf4e6b3ff2890ec0f74648dba61dfb17
BLAKE2b-256 da6e0ea74849254c41da42f216f681ad06ffc0b6c6e20584b74bc341942bf7c6

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