Skip to content

Commit ec881a0

Browse files
authored
Fix weight download URLs (#7898)
1 parent 655ebdb commit ec881a0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

torchvision/models/efficientnet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ class EfficientNet_B0_Weights(WeightsEnum):
463463
class EfficientNet_B1_Weights(WeightsEnum):
464464
IMAGENET1K_V1 = Weights(
465465
# Weights ported from https://github.com/rwightman/pytorch-image-models/
466-
url="https://download.pytorch.org/models/efficientnet_b1_rwightman-533bc792.pth",
466+
url="https://download.pytorch.org/models/efficientnet_b1_rwightman-bac287d4.pth",
467467
transforms=partial(
468468
ImageClassification, crop_size=240, resize_size=256, interpolation=InterpolationMode.BICUBIC
469469
),

torchvision/models/quantization/googlenet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def fuse_model(self, is_qat: Optional[bool] = None) -> None:
108108

109109
class GoogLeNet_QuantizedWeights(WeightsEnum):
110110
IMAGENET1K_FBGEMM_V1 = Weights(
111-
url="https://download.pytorch.org/models/quantized/googlenet_fbgemm-c00238cf.pth",
111+
url="https://download.pytorch.org/models/quantized/googlenet_fbgemm-c81f6644.pth",
112112
transforms=partial(ImageClassification, crop_size=224),
113113
meta={
114114
"num_params": 6624904,

torchvision/models/quantization/inception.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def fuse_model(self, is_qat: Optional[bool] = None) -> None:
168168

169169
class Inception_V3_QuantizedWeights(WeightsEnum):
170170
IMAGENET1K_FBGEMM_V1 = Weights(
171-
url="https://download.pytorch.org/models/quantized/inception_v3_google_fbgemm-71447a44.pth",
171+
url="https://download.pytorch.org/models/quantized/inception_v3_google_fbgemm-a2837893.pth",
172172
transforms=partial(ImageClassification, crop_size=299, resize_size=342),
173173
meta={
174174
"num_params": 27161264,

torchvision/models/quantization/shufflenetv2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class ShuffleNet_V2_X0_5_QuantizedWeights(WeightsEnum):
148148

149149
class ShuffleNet_V2_X1_0_QuantizedWeights(WeightsEnum):
150150
IMAGENET1K_FBGEMM_V1 = Weights(
151-
url="https://download.pytorch.org/models/quantized/shufflenetv2_x1_fbgemm-db332c57.pth",
151+
url="https://download.pytorch.org/models/quantized/shufflenetv2_x1_fbgemm-1e62bb32.pth",
152152
transforms=partial(ImageClassification, crop_size=224),
153153
meta={
154154
**_COMMON_META,

0 commit comments

Comments
 (0)