About Code release for "Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy" (ICLR 2022 Spotlight), https://openreview.net/forum?id=LzQQ89U1qm_
Traceback (most recent call last):
File "/root/BESP2024_D_AI/BESP_2024_AD_V0/run.py", line 184, in
exp.test(setting)
File "/root/BESP2024_D_AI/BESP_2024_AD_V0/exp/exp_anomaly_detection.py", line 186, in test
gt, pred = adjustment(gt, pred)
File "/root/BESP2024_D_AI/BESP_2024_AD_V0/utils/tools.py", line 96, in adjustment
if gt[i] == 1 and pred[i] == 1 and not anomaly_state:
IndexError: index 2986761 is out of bounds for axis 0 with size 2986752
Traceback (most recent call last): File "/root/BESP2024_D_AI/BESP_2024_AD_V0/run.py", line 184, in
exp.test(setting)
File "/root/BESP2024_D_AI/BESP_2024_AD_V0/exp/exp_anomaly_detection.py", line 186, in test
gt, pred = adjustment(gt, pred)
File "/root/BESP2024_D_AI/BESP_2024_AD_V0/utils/tools.py", line 96, in adjustment
if gt[i] == 1 and pred[i] == 1 and not anomaly_state:
IndexError: index 2986761 is out of bounds for axis 0 with size 2986752