LTS4 / DeepFool

A simple and accurate method to fool deep neural networks
357 stars 130 forks source link

There may be a little mistake in test_deepfool.py #8

Open obkwin opened 4 years ago

obkwin commented 4 years ago

In line 51, that is: clip = lambda x: clip_tensor(x, 0, 255) should be: clip = lambda x: clip_tensor(x, 0, 1)

In tf,transforms.Lambda() is in front, and there is no multiplication by 255 which will be operated by transforms.ToPILImage().

But this should not affect the final result.