Skip to main content

pytorch-histogram-matching

Installation

pip install pytorch_histogram_matching

Usage

from pytorch_histogram_matching import Histogram_Matching

import torch
dst = torch.randint(0, 256, (8, 3, 512,512)).cuda() / 255.
ref = torch.randint(0, 256, (8, 3, 512,512)).cuda() / 255.

dst.requires_grad = True
ref.requires_grad = True

HM = Histogram_Matching(differentiable=True)
rst = HM(dst, ref)

Test

python test.py

img

Metadata

Release files for pytorch-histogram-matching 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pytorch-histogram-matching 0.0.6
File Interpreter ABI Platform Actions
pytorch_histogram_matching-0.0.6-py3-none-any.whl Python 3 none any Details for pytorch_histogram_matching-0.0.6-py3-none-any.whl

Release files / pytorch_histogram_matching-0.0.6-py3-none-any.whl

Download URL pytorch_histogram_matching-0.0.6-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4381b3037f24dd4611fc743f3bb19825df54842779f576597bafe7f659c652e5
BLAKE2b-256 checksum
How to use checksums
bdd920297bcc92d9577a776103c79a822dac30398f629bda04ba7014a1683811
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.8

Security for pytorch-histogram-matching 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page