arunppsg / TadGAN

Code for the paper "TadGAN: Time Series Anomaly Detection Using Generative Adversarial Networks"
MIT License
156 stars 34 forks source link

About Encoder/Decoder loss function #8

Open zhaotianzi opened 2 years ago

zhaotianzi commented 2 years ago

After reading the code carefully, I found that the loss function of the encoder consists of three parts.like this loss_enc = mse + critic_score_valid_x - critic_score_fake_x i can understand 'mse',but i can not understand "critic_score_valid_x , critic_score_fake_x". 'critic_score_valid_x' and 'critic_score_fake_x' I think it is not related to the encoder. Is it replaced with 'critic_score_valid_z' and 'critic_score_fake_z'?