为什么mmrazor知识蒸馏中,我把 pretrained=true,会提示我找不到model_path #611
Unanswered
gentlman-web
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
default_scope = 'mmrazor'
teacher_ckpt = 'faster_rcnn_r101_fpn_2x_coco_bbox_mAP-0.398_20200504_210455-1d2dac9c.pth' # noqa: E501
model = dict(
scope='mmrazor',
type='FpnTeacherDistill',
architecture=dict(
cfg_path='mmdet::faster_rcnn/faster-rcnn_r50_fpn_1x_hrsc.py',
pretrained=True),
teacher=dict(
cfg_path='mmdet::faster_rcnn/faster-rcnn_r101_fpn_2x_hrsc.py',
pretrained=False),
报错 raise AttributeError(f"'{self.class.name}' object has no "
AttributeError: 'ConfigDict' object has no attribute 'model_path'
Beta Was this translation helpful? Give feedback.
All reactions