def get_image_from_loader(self):
     x, x_target, pose, pose_target, mask, mask_target = self.sess.run([self.x, self.x_target, self.pose, self.pose_target, self.mask, self.mask_target])
     x = utils_wgan.unprocess_image(x, 127.5, 127.5)
     x_target = utils_wgan.unprocess_image(x_target, 127.5, 127.5)
     mask = mask*255
     mask_target = mask_target*255
     return x, x_target, pose, pose_target, mask, mask_target
Exemple #2
0
 def get_image_from_loader(self):
     x, x_target, pose, pose_target, mask, mask_target = self.sess.run(
         [self.x, self.x_target, self.pose, self.pose_target, self.mask, self.mask_target]
     )
     x = utils_wgan.unprocess_image(x, 127.5, 127.5)
     x_target = utils_wgan.unprocess_image(x_target, 127.5, 127.5)
     mask = mask*255
     mask_target = mask_target*255
     return x, x_target, pose, pose_target, mask, mask_target