-
Notifications
You must be signed in to change notification settings - Fork 1
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
蒸馏损失实现时类别能否改用变量? #2
Comments
我现在用coco数据集在验证,把yolo_head.py里面的类别数全部由5改成80还是没能跑通 |
错误是什么了?蒸馏损失里的类别确实被固定了 你数据的路径设置对了吗?exps/example/ 下面的学生模型文件进行设置,我使用的是VOC的数据格式,你COCO的格式要自己修改 |
看到你在readme上的改动了,除了你说的那一处,但好像还有几处也需要改动一下,我列出来你确认一下需要不需要把5改成80? YOLOX-Distill/yolox/models/yolo_head.py Line 316 in 074d26a
2、 YOLOX-Distill/yolox/models/yolo_head.py Line 318 in 074d26a
3、 YOLOX-Distill/yolox/models/yolo_head.py Line 349 in 074d26a
|
还有这一处为什么传T=20? 请教一下,谢谢 YOLOX-Distill/yolox/models/yolo_head.py Line 313 in 074d26a
|
@xiao-hua-sheng 期待你的回复,谢谢 |
你列的1、2、3不需要修改,labels的前4位([...,:4])是bbox的中心坐标和宽高,第5位是置信度([..., 4]),剩下位数是类别 |
我看yolo_head.py里实现蒸馏损失时类别数固定成5了,能否用变量替换?方便类别数变化。
The text was updated successfully, but these errors were encountered: