Skip to content

Possible Bug in Impair Step #2

@piyushnags

Description

@piyushnags

Hi, thanks for sharing your code. I noticed that in the impair step, the noisy_data list always maps the noise to class 0 instead of the classes that need to be forgotten. Based on the paper, it seems like noisy_data.append((batch[i], torch.tensor(class_num))) should be replaced with noisy_data.append((batch[i], torch.tensor(cls))) because class_num isn't getting updated inside the loop. Please let me know if I'm missing something here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions