Skip to content

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

@obkwin

Description

@obkwin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions