Maghoumi / pytorch-softdtw-cuda

Fast CUDA implementation of (differentiable) soft dynamic time warping for PyTorch
MIT License
626 stars 59 forks source link

Negative value #27

Open NingkangYang opened 1 year ago

NingkangYang commented 1 year ago

When the input and labels have only one feature and the values for both of them are between 0 and 1, the loss will be negative values.

Maghoumi commented 1 year ago

Yes this is expected and was discussed previously in #9 and #10.

Leaving this issue open for anyone else in the future who might have the same question.