Skip to content

Recorder for gradients of certian modules #653

Description

@lanqz7766

Describe the question you meet

I want to achieve a distillation method that may require the teacher and student gradients of certain modules in the current batch. Is it possible to create a recorder to record a backward hook? I just need a general idea if it is possible to modify or create a new recorder.

Also, I am using the mmdetection3.x detectors model, those models are supported in MMrazor 1.0, right?

Any thoughts will be helpful!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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