Skip to content

Error while running the notebook dissect_classifier_experiment.ipynb #12

@Vikramank

Description

@Vikramank

I encountered the following error while running dissect_classifier_experiment.ipynb

compute_acts() takes 1 positional argument but 2 were given

while executing the following cell
unit_images = iv.masked_images_for_topk( compute_acts, dataset, topk, k=5, num_workers=30, pin_memory=True, cachefile=resfile('top5images.npz'))

I checked out the helper functions. Could you please help me?

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