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.1.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.1-py3-none-any.whl (145.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for resselt-1.2.1.tar.gz
Algorithm Hash digest
SHA256 7fa0972c557c7b623643c4c444ddd4bb514a501328a273df89426399b697ff24
MD5 88f702bfd031021e70cf0a451243b85b
BLAKE2b-256 d7c0cfe7bb4851e6e09cd02abbf82a6127135836a4ebe612697d6f075ee7b41f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for resselt-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c82f4a662dce406ac2f8a18d5481d22d99e958c344339baee6804ba982a0c625
MD5 24f6a6ffc641a0dbd2524a8b16512001
BLAKE2b-256 a92ba80a2e8987fae364b4fd84dbe9259266ab54257376411b605c75892bb0d8

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