Tim Gu

Results 2 issues of Tim Gu

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...

Some files created on windows might contain "0x92" which is not ASCII and cannot be parsed with utf8. The solution is to use 'cp1252' encoding (https://stackoverflow.com/questions/46000191/utf-8-codec-cant-decode-byte-0x92-in-position-18-invalid-start-byte) To reproduce this issue,...