You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You guys forgot to pass in the self.device parameter, which results in inconsistency between the device in the PGD class and the PGDTraining class. I believe the correct code should be
adversary = PGD(self.model, device=self.device)
Can you guys fix that code? Thanks! :D
The text was updated successfully, but these errors were encountered:
on this line https://github.com/DSE-MSU/DeepRobust/blob/master/deeprobust/image/defense/pgdtraining.py#L219
adversary = PGD(self.model)
You guys forgot to pass in the self.device parameter, which results in inconsistency between the device in the PGD class and the PGDTraining class. I believe the correct code should be
adversary = PGD(self.model, device=self.device)
Can you guys fix that code? Thanks! :D
The text was updated successfully, but these errors were encountered: