diff --git a/timm/models/dpn.py b/timm/models/dpn.py index ac9c7755..bd54b7c3 100644 --- a/timm/models/dpn.py +++ b/timm/models/dpn.py @@ -39,7 +39,9 @@ default_cfgs = { url='https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/dpn68b_ra-a31ca160.pth', mean=IMAGENET_DEFAULT_MEAN, std=IMAGENET_DEFAULT_STD), 'dpn92': _cfg( - url='https://github.com/rwightman/pytorch-dpn-pretrained/releases/download/v0.1/dpn92_extra-b040e4a9b.pth'), + url='https://github.com/rwightman/pytorch-dpn-pretrained/releases/download/v0.1/dpn92_extra-b040e4a9b.pth', + hf_revision="main", hf_model_id="julien-c/timm-dpn92", + ), 'dpn98': _cfg( url='https://github.com/rwightman/pytorch-dpn-pretrained/releases/download/v0.1/dpn98-5b90dec4d.pth'), 'dpn131': _cfg(