From 91ad218dc3966929d5ecdc872402f9d0401b8164 Mon Sep 17 00:00:00 2001 From: Nataniel Ruiz Date: Thu, 9 Jan 2020 16:15:22 -0400 Subject: [PATCH] GANimation conditional attacks --- ganimation/solver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ganimation/solver.py b/ganimation/solver.py index e079386..f62cea7 100644 --- a/ganimation/solver.py +++ b/ganimation/solver.py @@ -416,7 +416,7 @@ class Solver(Utils): for target_idx in range(targets.size(0)): # Transfer to different classes - if target_idx == 0: + # if target_idx == 0: # img = regular_image_transform(Image.open(images_to_animate_path[idx])).unsqueeze(0).cuda() # Wrong Class