scikit-learn-contrib/hdbscan

zero-size array to reduction operation minimum which has no identity

emmifollow opened this issue · 0 comments

features = get_all_fetures(signal, frame_size=4, hop_length=3)
np.array(features).T.shape
ValueError Traceback (most recent call last)
in
----> 1 features = get_all_fetures(signal, frame_size=4, hop_length=3)
2 np.array(features).T.shape

3 frames
<array_function internals> in amin(*args, **kwargs)

/usr/local/lib/python3.8/dist-packages/numpy/core/fromnumeric.py in _wrapreduction(obj, ufunc, method, axis, dtype, out, **kwargs)
84 return reduction(axis=axis, out=out, **passkwargs)
85
---> 86 return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
87
88

ValueError: zero-size array to reduction operation minimum which has no identity