Comments (1)
Hi @andreasfloros! Sorry for the late reply, I don't check this as much these days. This is intended, and matches the behaviour of PyWavelets
.
For the odd signal length, see my answer in #39 .
For this padding, this is because when you convolve a wavelet of length M
with a signal of length N
, the output will be N+M-1
. This happens before the downsampling, and we want to keep this information on the edges so we can reconstruct the signal later. If it's a problem for you (and I know sometimes it's nice to have everything a power of 2 in deep networks), you could use the db1
wavelet (as that only has length 2), or use the periodization
padding mode. Neither are ideal though, db1
wavelets aren't too great, and periodization
pads the image on the right with the first column on the left (like what you see in fourier transforms)
from pytorch_wavelets.
Related Issues (20)
- Reconstructed wavelet HOT 1
- Export DWTForward to onnx HOT 1
- Not preserving spatial dimensions HOT 1
- Make pypi release with 1D DWT
- using dtcwt as a high freq feature extractor HOT 1
- DWTInverse is not the inverse of DWTForward for small image sizes.
- ValueError: step must be greater than zero HOT 1
- Compatiable with torch AMP?
- How does output yl reflect the two approximate subbands?
- How to change default tensor dtype in pytorch_wavelets HOT 2
- Why must kernels be fixed?
- Hints on avoiding the scaled ouput
- Installation error HOT 1
- How to implement DTCWT for 1-D signals? Looking forward to your answer.
- py37_cu102/fused/fused.so
- How to calculate the params of DWT and IDWT?
- something wrong when we use encoder to process the high_frequency component
- 3D wavelet transform HOT 1
- maximum recursion depth exceeded in comparison
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch_wavelets.