KDD-OpenSource / DeepADoTS

Repository of the paper "A Systematic Evaluation of Deep Anomaly Detection Methods for Time Series".
MIT License
569 stars 117 forks source link

Donut on Syn Extreme Outliers (mis=0.225): The shape of ``arrays[1]`` does not agree with the shape of `timestamp` ((2100,) vs (1628,)) #121

Closed WGierke closed 6 years ago

WGierke commented 6 years ago
2018-07-04 12:23:50 [ERROR] src.evaluation.evaluator: An exception occurred while training Donut on Syn Extreme Outliers (mis=0.225): The shape of ``arrays[1]`` does not agree with the shape of `timestamp` ((2100,) vs (1628,))
2018-07-04 12:23:50 [ERROR] src.evaluation.evaluator: Traceback (most recent call last):
  File "/home/user/MP-2018/src/evaluation/evaluator.py", line 74, in evaluate
    det.fit(X_train, y_train)
  File "/home/user/MP-2018/src/algorithms/donut.py", line 163, in fit
    timestamps, _, (features, labels) = complete_timestamp(timestamps, (features, labels))
  File "/home/user/MP-2018/venv/lib/python3.6/site-packages/donut/preprocessing.py", line 36, in complete_timestamp
    format(i, array.shape, timestamp.shape))
ValueError: The shape of ``arrays[1]`` does not agree with the shape of `timestamp` ((2100,) vs (1628,))
xasetl commented 6 years ago

fixed in #123