donalee / dtw-pool Goto Github PK
View Code? Open in Web Editor NEWImplementation of dynamic temporal pooling (DTP) for time series classification
License: GNU General Public License v3.0
Implementation of dynamic temporal pooling (DTP) for time series classification
License: GNU General Public License v3.0
Hi, the link of your paper could not open.
Could you please check it?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.