wannesm / dtaidistance

Time series distances: Dynamic Time Warping (fast DTW implementation in C)
Other
1.08k stars 184 forks source link

Kernerl restarts on using dtw.warping_path_fast #200

Closed danomics-cam closed 11 months ago

danomics-cam commented 11 months ago

I've been using DTW.warping_path_fast() on relatively small numpy arrays (length = 8000) such as the folloowing: path = dtw.warping_path_fast(reference, target, window = 1000, psi=1000) After executing every time it causes the kernel to restart.

It only happens with the '_fast' version.

Any suggestions?

wannesm commented 11 months ago

Is there are error message showing in the terminal where you started the notebook? This looks like a C error.

Or alternatively, is there a minimal working example that triggers this bug and you can share?

danomics-cam commented 11 months ago

I have confirmed that it was a problem with the venv I was working with. In a new venv it is working as expected.