Skip to content

Error while using \scripts\attacks.py" #10

@SayanGiri1985

Description

@SayanGiri1985

am getting the following error while running \scripts\attacks.py":

fmodel = foolbox.models.PyTorchModel(model, # return logits in shape (bs, n_classes)
TypeError: init() got an unexpected keyword argument 'num_classes'

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