icedata icon indicating copy to clipboard operation
icedata copied to clipboard

ssl error when trying to download the model weights for mmdet.fcos

Open karthikra opened this issue 4 years ago • 0 comments

🐛 Bug

Describe the bug ssl error while trying to download the weights of the mmdet.fcos model like so ...

SSLError: HTTPSConnectionPool(host='openmmlab.oss-cn-hangzhou.aliyuncs.com', port=443): Max retries exceeded with url: /mmdetection/v2.0/fcos/fcos_r101_caffe_fpn_gn-head_1x_coco/fcos_r101_caffe_fpn_gn-head_1x_coco-0e37b982.pth (Caused by SSLError(SSLError(1, '[SSL] unknown error (_ssl.c:1123)')))

To Reproduce Steps to reproduce the behavior: 1.model_type = models.mmdet.fcos 2. backbone = model_type.backbones.resnet101_caffe_fpn_gn_head_1x_coco 3. model = model_type.model(backbone=backbone(pretrained=True), num_classes=len(parser.class_map), **extra_args) 4.

Expected behavior Downloading of the weights and instantiation of the model

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. ubuntu 18.04]

Additional context Add any other context about the problem here.

karthikra avatar Nov 23 '21 14:11 karthikra