Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zzw922cn/tf2_soft_dtw

Custom TensorFlow2 implementations of forward and backward computation of soft-DTW algorithm in batch mode.
https://github.com/zzw922cn/tf2_soft_dtw

custom dtw-algorithm edit-distance gradient soft-dtw tensorflow2

Last synced: about 2 months ago
JSON representation

Custom TensorFlow2 implementations of forward and backward computation of soft-DTW algorithm in batch mode.

Awesome Lists containing this project

README

        

Batch Soft-DTW(Dynamic Time Warping) in TensorFlow2 including forward and backward computation
===

Custom TensorFlow2 implementations of forward and backward computation of soft-DTW(Dynamic Time Warping) algorithm in batch mode, which is proposed in paper 《Soft-DTW: a Differentiable Loss Function for Time-Series》.

I have implemented two versions of soft-DTW, one is the original paper, the other is Parallel Tacotron2's paper(with warp penalty). For latter version, I solved the equations of backward computation myself.

If you have questions or improvements about the code, welcome to submit issues ASAP!