mmdetection
mmdetection copied to clipboard
load from not working?
Hi community,
I have set the load_from
flag like:
load_from = '/app/src/mmdetection/checkpoints/mask_rcnn_r50_caffe_fpn_mstrain-poly_3x_coco_bbox_mAP-0.408__segm_mAP-0.37_20200504_163245-42aa3d00.pth'
However, when training, mmdetection starts downloading weights:
2024-10-18 06:36:33,937 - mmcv - INFO - load model from: open-mmlab://detectron2/resnet50_caffe
2024-10-18 06:36:33,937 - mmcv - INFO - load checkpoint from openmmlab path: open-mmlab://detectron2/resnet50_caffe
Downloading: "https://download.openmmlab.com/pretrain/third_party/resnet50_msra-5891d200.pth" to /root/.cache/torch/hub/checkpoints/resnet50_msra-5891d200.pth
100%|███████████████████████████████████████████████████████████████████████████████████████████████████| 89.9M/89.9M [00:03<00:00, 26.1MB/s]
2024-10-18 06:36:37,815 - mmcv - WARNING - The model and loaded state dict do not match exactly
Is this behaviour expected?
Thanks in advance