LeeDoYup / AnoGAN-tf

Unofficial Tensorflow Implementation of AnoGAN (Anomaly GAN)
MIT License
273 stars 90 forks source link

every pixel anomal_score #24

Open lzzlxxlsz opened 5 years ago

lzzlxxlsz commented 5 years ago

You said that the anomaly_score is the sum of the all pixels anomaly_score,if I want to see the every pixel's anomaly_score,what shoul I do ? the code"self.res_loss = tf.reduce_mean( tf.reduce_sum(tf.abs(tf.subtract(test_inputs, self.ano_G))))" is the whole pixel's res_loss ?it is 6464 and 3 channels,but for the dis_loss : "self.dis_loss = tf.reduce_mean( tf.reduce_sum(tf.abs(tf.subtract(dis_f_z, dis_f_input))))",it is 66 and 512 channels?,what should I do if I want to know every pixel?

lzzlxxlsz commented 5 years ago

When I calculate the res_loss of every pixel,wheather I take account of the dis_loss into consideration?