nickgeoca / cwt-tensorflow

Continuous wavelet transform (CWT) in tensorflow
Apache License 2.0
54 stars 15 forks source link

if you are interested in becoming a collaborator let me know by creating an issue or gmail me nickgeoca

Tensorflow CWT

This implements a 1-D Continuous Wavelet Transform (CWT) in tensorflow. The benefit is that it runs parallel on GPUs.

The following wavelets are available:

Benchmarks

Regarding CWT performance of Tensorflow vs Pywavelet, Pywavelet is about 13 times faster. However, this is a CPU only benchmark without using performance extensions, like AVX, on Tensorflow.

Col1 Col2 Result Notes
Tensorflow CWT (GPU) Tensorflow CWT (CPU) GPU ~8x faster old i5 vs GTX 750 TI ~1,400 GFLOPS
Tensorflow CWT (CPU) Pywavelet CWT (CPU) Pywavelet CWT ~13x faster Tensorflow w/o AVX extensions, etc
Tensorflow CWT (CPU) Pywavelet DWT (CPU) Pywavelet DWT ~200,000x faster Haar wavelet; Tensorflow w/o AVX extensions, etc

Benchmark times

This can be aquired by running python benchmark.py

Examples

Notes

Dev Notes

TODO