Skip to content

Empty index_list  #2

@gold-Soul

Description

@gold-Soul

I choice the selection scheme “HighestKGradients” and run the code as follows:
net_parser.register_hooks()
target_loss = (criterion(outputs, labels))
target_loss.backward(retain_graph=True)
index_list = net_parser.get_parameters()

But I found that the index_list is none and the function "hook" in function "generated_hook" from the file "HighestKGradients.py" didn't run.

Figure1

Figure2

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