-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
Hi,
In run_main, in the section "if ADD_NOISE:", the code states:
if ADD_NOISE:
x_PMLR = x_PMLR * np.random.randint(2, size=x_PMLR.shape)
x_PMLR += np.random.randint(2, size=x_PMLR.shape)
Line 1 creates pepper noise (since you are multiplying by 1 or 0). The second line adds 1 or 0 to each pixel. What is the rationale? Why not simply add a Gaussian or uniform noise of small amplitude to each pixel? Thanks.
Metadata
Metadata
Assignees
Labels
No labels