Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get runner state in the detector class? #5462

Closed
LuckyDC opened this issue Jun 27, 2021 · 1 comment
Closed

How to get runner state in the detector class? #5462

LuckyDC opened this issue Jun 27, 2021 · 1 comment
Assignees

Comments

@LuckyDC
Copy link

LuckyDC commented Jun 27, 2021

Thanks for your great framework! I encounter a case where I have to change the contribution of a branch to the final output according to the training process. But I do not know how to access runner.epoch in the forward_train function of the detector or head class. Would you like to provide a solution? Thanks

@ZwwWayne
Copy link
Collaborator

For now, you may need to customize a runner following this PR open-mmlab/mmcv#1115.
We are still working on it to provide safe and stable usage. This feature will be officially supported in the future.

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

No branches or pull requests

2 participants