-
Notifications
You must be signed in to change notification settings - Fork 52
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
请问是否可以使用其他预训练教师模型 #48
Comments
运行代码后出现了以下报错: Traceback (most recent call last): File "/home/cx/LD/mmdet/models/detectors/base.py", line 247, in train_step File "/home/.conda/envs/cx_ld/lib/python3.7/site-packages/mmcv/runner/fp16_utils.py", line 84, in new_func File "/home/cx/LD/mmdet/models/detectors/kd_one_stage.py", line 76, in forward_train File "/home/cx/LD/mmdet/models/dense_heads/ld_fcos_head.py", line 204, in loss File "/home/cx/LD/mmdet/models/dense_heads/ld_fcos_head.py", line 57, in loss_single 4 * (self.reg_max + 1)) |
configs/fcos/fcos_r101_caffe_fpn_gn-head_mstrain_640-800_2x_coco.py 和 FCOS-GFL-R101 |
好的,我试一下,谢谢了
|
我用FCOS-GFL-R101的配置预训练了一个教师模型,并用教师训练了学生模型,基本达到了您论文的结果。
我想尝试使用其他的预训练模型训练教师,不知道可不可以,另外代码是不是需要修改某些部分,麻烦帮忙看一下,谢谢。
我对 LD/configs/ld/ld_r50_fcos_r101_1x.py 进行了更改,
teacher_config='configs/fcos/fcos_r101_caffe_fpn_gn-head_mstrain_640-800_2x_coco.py',
teacher_ckpt='configs/ld/fcos_r101_caffe_fpn_gn-head_mstrain_640-800_2x_coco-511424d6.pth'
并下载了mmdetection提供的预训练模型。
The text was updated successfully, but these errors were encountered: