Skip to content

Commit

Permalink
FIX: image debug log disable
Browse files Browse the repository at this point in the history
  • Loading branch information
GunwooHan committed Jun 6, 2024
1 parent 6c28234 commit 79132bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/latent_twoafc.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ def __getitem__(self, idx):
judge_img = torch.FloatTensor(judge_img)

# For Debug
import torchvision.utils as vutils
temp_tensor = [p0_img, p1_img, ref_img]
vutils.save_image(temp_tensor, "output.png", nrow=3, normalize=True)
# import torchvision.utils as vutils
# temp_tensor = [p0_img, p1_img, ref_img]
# vutils.save_image(temp_tensor, "output.png", nrow=3, normalize=True)

return p0_img, p1_img, ref_img, judge_img

Expand Down

0 comments on commit 79132bb

Please sign in to comment.