Closed Ramzes30765 closed 2 months ago
problem resolved by another model loading code
inferencer = DetInferencer(
model='/mmyolo/configs/rtmdet/distillation/kd_l_rtmdet_x_neck_phones.py',
weights='mmyolo/work_dirs/kd_l_rtmdet_x_neck_phones/best_coco_bbox_mAP_epoch_297.pth',
scope='mmyolo',
device='cuda:2')
Describe the bug
I successfully performed distillation using the script
./mmyolo/configs/rtmdet/distillation/kd_l_rtmdet_x_neck_phones.py.
After that, I am trying to load the checkpoint and I get an error.To Reproduce
Environvent
My config files
rtmdet_l_phones.py
rtmdet_x_phones.py
kd_l_rtmdet_x_neck_phones.py
Loading the model
Training comand: