Fix weight url in resnest (#609)

Co-authored-by: wsqshiqing <wzuchen@gmail.com>
pull/521/merge
Xingyu Liao 2021-12-26 16:15:42 +08:00 committed by GitHub
parent fb1027de4c
commit 31d99b793f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# encoding: utf-8 # encoding: utf-8
# based on: # based on:
# https://github.com/zhanghang1989/ResNeSt/blob/master/resnest/torch/resnest.py # https://github.com/zhanghang1989/ResNeSt/blob/master/resnest/torch/models/resnest.py
"""ResNeSt models""" """ResNeSt models"""
import logging import logging
@ -14,7 +14,7 @@ from fastreid.utils.checkpoint import get_unexpected_parameters_message, get_mis
from .build import BACKBONE_REGISTRY from .build import BACKBONE_REGISTRY
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
_url_format = 'https://s3.us-west-1.wasabisys.com/resnest/torch/{}-{}.pth' _url_format = 'https://github.com/zhanghang1989/ResNeSt/releases/download/weights_step1/{}-{}.pth'
_model_sha256 = {name: checksum for checksum, name in [ _model_sha256 = {name: checksum for checksum, name in [
('528c19ca', 'resnest50'), ('528c19ca', 'resnest50'),