pytorch-wavelets
A port of the DTCWT toolbox to run on pytorch
Decision gist · record as of 2026-08-14
Yes, if you need wavelet transforms in PyTorch and can tolerate an abandoned package. Install friction is low and there are no known vulnerabilities. However, verify that the 'Free To Use' license suits your use case, test compatibility with your PyTorch and NumPy versions, and be prepared to maintain or fork the code if bugs emerge—no updates are coming from upstream.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure Python wheel.
- Maintenance is abandoned—last release was 1.3.0 on 2023-04-13, with no commits since 2023-08-02—so expect no bug fixes or updates.
License · maintenance · safety
Free To Use (unclear) — License is marked 'Free To Use' with unclear treatment and no SPDX identifier. Consult the repository's ORIGINAL_README.txt and license terms before use in proprietary or commercial contexts.
last release 2023-04-13 (1219 days) · last repo commit 2023-08-02 · 1,175 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 198,192 downloads/mo, #9,738 on PyPI
Alternatives
Verify before relying
pip install pytorch-wavelets
import torch
from pytorch_wavelets import DWTForward, DWTInverse
xfm = DWTForward(J=3, wave='db3', mode='zero')
X = torch.randn(10, 5, 64, 64)
Yl, Yh = xfm(X)
print(Yl.shape) # torch.Size([10, 5, 12, 12])
ifm = DWTInverse(wave='db3', mode='zero')
Y = ifm((Yl, Yh))- Whether the 'Free To Use' license permits commercial or proprietary use without restriction.
- Current compatibility with recent PyTorch and NumPy versions given the package's abandonment.
- Whether GPU/CUDA support requires additional system dependencies beyond PyTorch.
What it is and what it does
pytorch-wavelets implements wavelet transforms optimized for PyTorch tensors, letting you compute 2D discrete wavelet transforms (DWT) and dual-tree complex wavelet transforms (DTCWT) on batches of images with full gradient support. It also includes a scattering network layer based on DTCWT. The package uses standard PyTorch NCHW format and supports both CPU and GPU execution.
The library provides forward and inverse transforms for both DWT and DTCWT, plus specialized scattering layers (ScatLayer, ScatLayerj2) for feature extraction. Version 1.3.0 added 1D wavelet support. However, the project is no longer maintained—the last commit was in August 2023—so it may not work with current versions of PyTorch or NumPy without modification.
Use it for
- Extract multiscale wavelet features from image batches for machine learning pipelines.
- Implement learnable wavelet-based layers in neural networks with backpropagation through transforms.
- Compute scattering network representations for image classification or analysis on GPU.
- Perform 1D wavelet decomposition on time-series or signal data within PyTorch models.
- Prototype research using dual-tree complex wavelets without leaving the PyTorch ecosystem.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need wavelet transforms in PyTorch and can tolerate an abandoned package.
Install friction is low and there are no known vulnerabilities. However, verify that the 'Free To Use' license suits your use case, test compatibility with your PyTorch and NumPy versions, and be prepared to maintain or fork the code if bugs emerge—no updates are coming from upstream.
Install
pytorch-wavelets on PyPI
Before you install
Low install friction with a pure Python wheel. Maintenance is abandoned—last release was 1.3.0 on 2023-04-13, with no commits since 2023-08-02—so expect no bug fixes or updates.
License in practice
License is marked 'Free To Use' with unclear treatment and no SPDX identifier. Consult the repository's ORIGINAL_README.txt and license terms before use in proprietary or commercial contexts.
Quickstart
pip install pytorch-wavelets
import torch
from pytorch_wavelets import DWTForward, DWTInverse
xfm = DWTForward(J=3, wave='db3', mode='zero')
X = torch.randn(10, 5, 64, 64)
Yl, Yh = xfm(X)
print(Yl.shape) # torch.Size([10, 5, 12, 12])
ifm = DWTInverse(wave='db3', mode='zero')
Y = ifm((Yl, Yh))
Verify before relying
- Whether the 'Free To Use' license permits commercial or proprietary use without restriction.
- Current compatibility with recent PyTorch and NumPy versions given the package's abandonment.
- Whether GPU/CUDA support requires additional system dependencies beyond PyTorch.
Package facts
| License | Free To Use unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesnumpysixtorch |
| Maintenance | Abandoned 1,219 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 198,192 / month, #9,738 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaLicense :: Free To Use But RestrictedProgramming Language :: Python :: 3 |
Evidence: pytorch_wavelets-1.3.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “wavelet transform pytorch”
- pytorch-waveletsProvides 2D discrete wavelet and dual-tree complex wavelet transforms…
- PyWaveletsPyWavelets provides discrete, continuous, and stationary wavelet…
- zukoZuko implements normalizing flows in PyTorch as trainable neural…
Give your agent the search over MCP, or paste the wish link into any chat.
More Mathematics packages
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.
Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.
SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.
onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.
Install it if you have ONNX models to run in production or development.
See also PyWavelets · julius · pytorch_revgrad · torchcodec · invisible-watermark · CoLT5-attention · torch-audiomentations · rotary-embedding-torch · torch-geometric