thuml / Anomaly-Transformer

About Code release for "Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy" (ICLR 2022 Spotlight), https://openreview.net/forum?id=LzQQ89U1qm_
MIT License
763 stars 202 forks source link

train_loss 为负数,但是test结果正确,为什么? #35

Closed zhangda1018 closed 2 years ago

zhangda1018 commented 2 years ago

image

wuhaixu2016 commented 2 years ago

Hi, loss function doesn't have to be positive.