You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe the coder forgot to turn the list into numpy.ndarray, because he just use the z_score with data = (data - mean) / std. The data is numpy.ndarray, so it actually turns into - operand of numpy.ndarray.
So you can try scale = np.array(norm_statistic['max']) - norm_statistic['min'] + 1e-5
instead of scale = norm_statistic['max'] - norm_statistic['min'] + 1e-5
When using min-max method on ECG data, we will encounter error of "unsupported operand type(s) for -: 'list' and 'list'".
Line 10, forecast_dataloader.py
The text was updated successfully, but these errors were encountered: