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
733 stars 190 forks source link

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

Closed zhangda1018 closed 1 year ago

zhangda1018 commented 1 year ago

image

wuhaixu2016 commented 1 year ago

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