Learn about other available pre-trained backbones in the official Detectron2 Model Zoo Weight Conversion: Check out how to convert checkpoints between Detectron2 and MMDetection formats. Training Guides: See a practical example of training Faster R-CNN using these MSRA weights. mmdetection docs Are you planning to use these weights for transfer learning on a custom dataset, or are you looking to them for use in a different framework? AI responses may include mistakes. Learn more
model = torchvision.models.resnet50() model.load_state_dict(state_dict, strict=True) imagenetpretrained msra r-50.pkl
run?
state_dict = load_converted_msra_weights('imagenetpretrained_msra_r-50.pkl') model = torchvision.models.resnet50() model.load_state_dict(state_dict, strict=False) # FC layer will be replaced Learn about other available pre-trained backbones in the