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.3.1.tar.gz (158.9 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.3.1-py3-none-any.whl (163.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: resselt-1.3.1.tar.gz
  • Upload date:
  • Size: 158.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.1 {"installer":{"name":"uv","version":"0.10.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for resselt-1.3.1.tar.gz
Algorithm Hash digest
SHA256 a8b6126412d8b92fe2ac17dccfd7ecccddb42d4031a3d42c123de183ce4ab164
MD5 c0fdad3727abd938415e97fcd68e934f
BLAKE2b-256 f4612602447c3adbb789b066d518e6e5c70d06d80311d8927658d1d862cd4be7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: resselt-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 163.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.1 {"installer":{"name":"uv","version":"0.10.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for resselt-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8157b731f184cd0a15c565c898b5a1dd9a2b4da2a874c98dc7c6bfb78331e0b0
MD5 cd3059cef6367804330d8ad2e5384019
BLAKE2b-256 5d0f087ae4d7087d683e4b36a268907ad830a9fdd9aecff459411cae1325c4aa

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