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.2.tar.gz (159.2 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.2-py3-none-any.whl (163.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: resselt-1.3.2.tar.gz
  • Upload date:
  • Size: 159.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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.2.tar.gz
Algorithm Hash digest
SHA256 5417d137eaddd906e59a8e0d36a0a907fb9e5e68dac110e9ec2a353cd977d932
MD5 73800b94449240cb9f39fb4bc8f5eda8
BLAKE2b-256 7ea2777ba79d821540e78426df99e51e4b935aecc1295510b40994697476ff6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: resselt-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 163.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e09d2e2876d62be93f45f8cf1db84b80f06676d492d9e0421ce4b19fd2b4e17
MD5 6ca0cbd9f57688ecfb9e0453a470dfc0
BLAKE2b-256 e7bc89c71aa77addd0587131b39c78805319ff42b3da7a2853a8c392236c06e3

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