Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bes-dev/haar_pytorch
Pytorch implementation of forward and inverse Haar Wavelets 2D
https://github.com/bes-dev/haar_pytorch
computer-vision deeplearning generative-adversarial-network pytorch
Last synced: about 15 hours ago
JSON representation
Pytorch implementation of forward and inverse Haar Wavelets 2D
- Host: GitHub
- URL: https://github.com/bes-dev/haar_pytorch
- Owner: bes-dev
- License: apache-2.0
- Created: 2021-11-16T18:59:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-16T21:24:16.000Z (almost 3 years ago)
- Last Synced: 2024-09-06T07:52:03.667Z (19 days ago)
- Topics: computer-vision, deeplearning, generative-adversarial-network, pytorch
- Language: Python
- Homepage:
- Size: 674 KB
- Stars: 18
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# haar_pytorch: Pytorch implementation of forward and inverse Haar Wavelets 2D
A simple library that implements differentiable forward and inverse Haar Wavelets.
## Install package
```bash
pip install haar_pytorch
```## Install the latest version
```bash
pip install --upgrade git+https://github.com/bes-dev/haar_pytorch.git
```## Example
```python
import torch
from haar_pytorch import HaarForward, HaarInversehaar = HaarForward()
ihaar = HaarInverse()img = torch.randn(5, 4, 64, 64)
wavelets = haar(img)
img_reconstructed = ihaar(wavelets)
```