Coder Social home page Coder Social logo

dtw-pool's People

Contributors

donalee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dtw-pool's Issues

from sktime.utils.load_data import error

Thanks for your excellent work.
I just use "pip install sktime" to install this package, but this package doesn't include load_data.py

image

I hope you can offer more details about sktime package you use.
Thanks in advance.

paper

Hi, the link of your paper could not open.
Could you please check it?

mistake in softdtw_cuda.py

I tried to run the softdtw_cuda.py directly, but I got an error.

Profiling forward() + backward() times for batch_size=128, seq_len_a=17, seq_len_b=15, dims=2...
Traceback (most recent call last):
  File "softdtw_cuda.py", line 556, in <module>
    profile(128, 17, 15, 2, tol_backward=1e-6)
  File "softdtw_cuda.py", line 529, in profile
    t_gpu, forward_gpu, backward_gpu = timed_run(a_gpu, b_gpu, sdtw_cuda)
  File "softdtw_cuda.py", line 495, in timed_run
    forward = sdtw(a, b)
  File "/home/qar/.local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "softdtw_cuda.py", line 465, in forward
    func_dtw = self._get_func_dtw(X, Y)
  File "softdtw_cuda.py", line 399, in _get_func_dtw
    assert dx == dy  # Equal feature dimensions
AssertionError

In line 523 and line 524, you define the data with (batch_size, seq_len, dims), but in _get_func_dtw(self, x, y), you unpack the data with dimention (bx, dx, lx) and check the batch and dimention. However, the second dimention is actually the seq_len.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.