import tensorflow as tf

        print(tgtimg_z.get_shape())
        self.out = output_h4
        self.out2 = truthoutput_h4
        print(self.out.get_shape())
        self.recon1 = tf.nn.l2_loss(tgtimg - self.out)
        self.recon2 = tf.nn.l2_loss(tgtimg - self.out2)
        self.loss = self.recon1 + self.recon2 + self.simloss
        if ablation_type == "None":
            self.loss = self.recon1 + self.recon2 + self.simloss
        elif ablation_type == "L2":
