mblondel / soft-dtw

Python implementation of soft-DTW.
BSD 2-Clause "Simplified" License
546 stars 98 forks source link

Pytorch feature #4

Open Rachine opened 6 years ago

Rachine commented 6 years ago

Hi !

Did you start working on the pytorch feature? Or should I start looking into it? Thanks for sharing the code!

mblondel commented 6 years ago

@arthurmensch is also interested in this. I guess you two could collaborate!

sculyi commented 6 years ago

hi, i have the same problem, did you have any ideas?

amirkargar commented 6 years ago

Hi, did you guys have any progress on this?

mblondel commented 6 years ago

Closing since a PyTorch implementation is now available in https://github.com/arthurmensch/didyprog thanks to @arthurmensch.

shaform commented 5 years ago

It seems like a Pytorch implementation is not really available in that repo https://github.com/arthurmensch/didyprog/issues/5. So maybe this should be reopened?

mblondel commented 5 years ago

@shaform I agree. Does anyone want to tackle it? I won't be able to do it myself, since I don't have the use case myself. Here are the things to do:

lyprince commented 5 years ago

@mblondel Here is my implementation (https://github.com/lyprince/sdtw_pytorch).

I haven't written a proper demo yet, but if this is something people would like and would be relatively easy I could try to make time for it.

mblondel commented 5 years ago

Awesome! Thanks for sharing.

Maghoumi commented 4 years ago

@mblondel First, thanks again for your great paper!

I've been extensively using it for my research. I just publicly released a CUDA implementation of your algorithm for PyTorch that can run up to 100x faster than other available implementations. It's availble here: https://github.com/Maghoumi/pytorch-softdtw-cuda

Hope this helps others!