-
Notifications
You must be signed in to change notification settings - Fork 221
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
Any plans to support anchor distillation #17
Comments
Hi, @yarkable , this is a good issue. There is an example to align the student's distiller=dict(
type='SingleTeacherDistiller',
teacher=teacher,
teacher_trainable=False,
align_methods=[
dict(method='YOLOX._preprocess', import_module='mmdet.models')
],
components=[
...
]
) |
Because the paper seems not to release code, I'm unsure if this context manager can fully meet your needs. |
OK, thanks for your reply. I'll check it. |
Co-authored-by: caoweihan <caoweihan@sensetime.com>
* Base Framework (open-mmlab#24) * Base Framework * [Feature] Add loss * [Feature] Add op (open-mmlab#4) * [Feature] Add mutator (open-mmlab#3) * [Feature] Add mutable (open-mmlab#2) * [Feature] Add architecture (open-mmlab#1) * [Docs] Add Docs (open-mmlab#6) * add docs * fix known_third_party Co-authored-by: qiufeng <qiufeng3217@gmail.com> * update docs (open-mmlab#12) Co-authored-by: qiufeng <qiufeng3217@gmail.com> * [Docs] Add README (open-mmlab#10) * add readme * refactor readme * add logo * update release time Co-authored-by: qiufeng <qiufeng3217@gmail.com> * [Docs] Add Resources (open-mmlab#11) * add resources * fix known_third_party * fix known_third_party * fix known_third_party * refactor resources Co-authored-by: qiufeng <qiufeng3217@gmail.com> * add pytest (open-mmlab#18) Co-authored-by: caoweihan <caoweihan@sensetime.com> * add utils (open-mmlab#17) Co-authored-by: caoweihan <caoweihan@sensetime.com> * add distillers (open-mmlab#16) Co-authored-by: caoweihan <caoweihan@sensetime.com> * add pruners (open-mmlab#15) Co-authored-by: caoweihan <caoweihan@sensetime.com> * fix bug * update docstring (open-mmlab#20) * Prepare for open source (open-mmlab#23) * update MMRazor description * update Github action * add Mircosoft copyright * update requirements * fix a bug * fix a typo Co-authored-by: humu789 <humu@pjlab.org.cn> Co-authored-by: humu789 <88702197+humu789@users.noreply.github.com> Co-authored-by: qiufeng <44188071+wutongshenqiu@users.noreply.github.com> Co-authored-by: qiufeng <qiufeng3217@gmail.com> Co-authored-by: whcao <41630003+HIT-cwh@users.noreply.github.com> Co-authored-by: caoweihan <caoweihan@sensetime.com> * fix readme and pre-commit * rename tutorials * fix a bug * pass lint Co-authored-by: pppppM <67539920+pppppM@users.noreply.github.com> Co-authored-by: humu789 <humu@pjlab.org.cn> Co-authored-by: humu789 <88702197+humu789@users.noreply.github.com> Co-authored-by: qiufeng <44188071+wutongshenqiu@users.noreply.github.com> Co-authored-by: qiufeng <qiufeng3217@gmail.com> Co-authored-by: caoweihan <caoweihan@sensetime.com>
* Base Framework (open-mmlab#24) * Base Framework * [Feature] Add loss * [Feature] Add op (open-mmlab#4) * [Feature] Add mutator (open-mmlab#3) * [Feature] Add mutable (open-mmlab#2) * [Feature] Add architecture (open-mmlab#1) * [Docs] Add Docs (open-mmlab#6) * add docs * fix known_third_party Co-authored-by: qiufeng <qiufeng3217@gmail.com> * update docs (open-mmlab#12) Co-authored-by: qiufeng <qiufeng3217@gmail.com> * [Docs] Add README (open-mmlab#10) * add readme * refactor readme * add logo * update release time Co-authored-by: qiufeng <qiufeng3217@gmail.com> * [Docs] Add Resources (open-mmlab#11) * add resources * fix known_third_party * fix known_third_party * fix known_third_party * refactor resources Co-authored-by: qiufeng <qiufeng3217@gmail.com> * add pytest (open-mmlab#18) Co-authored-by: caoweihan <caoweihan@sensetime.com> * add utils (open-mmlab#17) Co-authored-by: caoweihan <caoweihan@sensetime.com> * add distillers (open-mmlab#16) Co-authored-by: caoweihan <caoweihan@sensetime.com> * add pruners (open-mmlab#15) Co-authored-by: caoweihan <caoweihan@sensetime.com> * fix bug * update docstring (open-mmlab#20) * Prepare for open source (open-mmlab#23) * update MMRazor description * update Github action * add Mircosoft copyright * update requirements * fix a bug * fix a typo Co-authored-by: humu789 <humu@pjlab.org.cn> Co-authored-by: humu789 <88702197+humu789@users.noreply.github.com> Co-authored-by: qiufeng <44188071+wutongshenqiu@users.noreply.github.com> Co-authored-by: qiufeng <qiufeng3217@gmail.com> Co-authored-by: whcao <41630003+HIT-cwh@users.noreply.github.com> Co-authored-by: caoweihan <caoweihan@sensetime.com> * fix readme and pre-commit * rename tutorials * fix a bug * pass lint Co-authored-by: pppppM <67539920+pppppM@users.noreply.github.com> Co-authored-by: humu789 <humu@pjlab.org.cn> Co-authored-by: humu789 <88702197+humu789@users.noreply.github.com> Co-authored-by: qiufeng <44188071+wutongshenqiu@users.noreply.github.com> Co-authored-by: qiufeng <qiufeng3217@gmail.com> Co-authored-by: caoweihan <caoweihan@sensetime.com>
* prepare for split * mark multiclass nms * redesign mark decorator to handle input/output names better (open-mmlab#17) * redesign mark decorator to handle input/output names better * fixed a bug in rename_value; robustify extract_model * fix lint * fix log in deploy pipeline * fix onnxruntime config * fix lint * update connect init * rename is_inspecting * simplify function_mark Co-authored-by: Li Zhang <lzhang329@gmail.com>
Describe the feature
Distill the anchor distribution.
Motivation
Not only distill
nn.Module
features, but also detection results, e.g., scores of positive and negative anchors.Ex1. AAAI 2022 Anchor Distillation
The text was updated successfully, but these errors were encountered: