Comments (1)
Hi @flyme-psp ,
我们的teacher模型follow的是之前检测KD paper的setting,用的是Cascade Mask R-CNN (config),而不是Mask R-CNN,因此teacher会有Cascade提出的三个bbox head。
KDShared2FCBBoxHead
这个类在https://github.com/hunto/MasKD/blob/main/mmrazor/mmrazor/models/utils/kd_bbox_head.py ,如果你是用的这里的mmrazor代码跑训练,这个head会被自动注册进mmdet中,训练应该是正常的。
其他注释的部分该如何使用:你说的是我们的config里将cascade后面两个head给注释掉了?因为faster r-cnn只有一层回归和分类head,而cascade是3层head的级联,在kd中我们只需要使用第一层的输出做蒸馏,因此后面两层不需要算了,注释掉可以节省这部分计算量。如果你想使用注释掉的这些层的输出,把注释取消掉,再修改蒸馏的位置就好了。
from dist_kd.
Related Issues (11)
- About student checkpoint HOT 4
- How can I reproduce the Cityscapes segmentation results HOT 5
- ModuleNotFoundError: No module named 'dataset' HOT 2
- About the KD Loss on the RetinaNet One-Stage Object Detectors HOT 2
- How could I apply this KD method to other segmentation teacher/student models? HOT 2
- After the 3rd epoch it breaks down HOT 4
- How to train with custom datasets ? HOT 7
- The Segmentation of val mIoU is not 74.21 --->77.10,which is using DIST KD method based on DeepLabV3-ResNet18 HOT 5
- bad substitution报错 HOT 7
- Releasing object detection HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dist_kd.