From 2a9507204ae2dd14504556ab5885c4f39bddd89a Mon Sep 17 00:00:00 2001 From: Jordan Gong Date: Thu, 18 Feb 2021 16:00:32 +0800 Subject: Decode mean appearance feature --- models/model.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'models/model.py') diff --git a/models/model.py b/models/model.py index 0c3e5eb..139fd59 100644 --- a/models/model.py +++ b/models/model.py @@ -222,16 +222,16 @@ class Model: # Write disentangled images if self.image_log_on: i_a, i_c, i_p = images + self.writer.add_images( + 'Appearance image', i_a, self.curr_iter + ) self.writer.add_images( 'Canonical image', i_c, self.curr_iter ) - for (i, (o, a, p)) in enumerate(zip(x_c1, i_a, i_p)): + for i, (o, p) in enumerate(zip(x_c1, i_p)): self.writer.add_images( f'Original image/batch {i}', o, self.curr_iter ) - self.writer.add_images( - f'Appearance image/batch {i}', a, self.curr_iter - ) self.writer.add_images( f'Pose image/batch {i}', p, self.curr_iter ) -- cgit v1.2.3