download.openmmlab.com resolves to expired.hichina.com and MMDetection checkpoint download fails
Problem
I cannot download MMDetection pretrained checkpoints from download.openmmlab.com.
The affected checkpoint is:
mask2former_r101_8xb2-lsj-50e_coco_20220426_100250-ecf181e2.pth
The checkpoint URL is:
This is the checkpoint linked from the MMDetection Mask2Former model zoo for:
mask2former_r101_8xb2-lsj-50e_coco.py Error with mim
I tried downloading it with:
mim download mmdet --config mask2former_r101_8xb2-lsj-50e_coco --dest checkpoints
but it failed with a connection timeout:
urllib3.exceptions.ConnectTimeoutError: Connection to download.openmmlab.com timed out. (connect timeout=15)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='download.openmmlab.com', port=443): Max retries exceeded
The final traceback also contains:
TypeError: exceptions must derive from BaseException
but the root cause seems to be the timeout when connecting to download.openmmlab.com.
DNS result
On Windows PowerShell, nslookup download.openmmlab.com gives:
Server: UnKnown Address: 172.16.1.2
Non-authoritative answer: Name: expired.hichina.com Addresses: 8.218.208.240 47.91.170.222 47.76.127.217 Aliases: download.openmmlab.com
It looks like download.openmmlab.com is currently resolving to expired.hichina.com, which may indicate a DNS/domain/CDN issue rather than a local command problem.
Environment OS: Ubuntu server and Windows client Python: 3.8 MMDetection config: mask2former_r101_8xb2-lsj-50e_coco Download method tried:
- mim download
- curl / wget
- browser access Request
Could you please check whether download.openmmlab.com is currently misconfigured, expired, or unavailable?
If possible, could you also provide an alternative download mirror for the following checkpoint?
mask2former_r101_8xb2-lsj-50e_coco_20220426_100250-ecf181e2.pth
Thanks.
Source: open-mmlab/mmdetection