Skip to content

Commit da3794e

Browse files
authored
Fix all broken URLs (#6176) (#6177)
1 parent c7091ec commit da3794e

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

torchvision/datasets/caltech.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
class Caltech101(VisionDataset):
12-
"""`Caltech 101 <http://www.vision.caltech.edu/Image_Datasets/Caltech101/>`_ Dataset.
12+
"""`Caltech 101 <https://data.caltech.edu/records/20086>`_ Dataset.
1313
1414
.. warning::
1515
@@ -146,7 +146,7 @@ def extra_repr(self) -> str:
146146

147147

148148
class Caltech256(VisionDataset):
149-
"""`Caltech 256 <http://www.vision.caltech.edu/Image_Datasets/Caltech256/>`_ Dataset.
149+
"""`Caltech 256 <https://data.caltech.edu/records/20087>`_ Dataset.
150150
151151
Args:
152152
root (string): Root directory of dataset where directory

torchvision/datasets/kinetics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def _dl_wrap(tarpath: str, videopath: str, line: str) -> None:
2121

2222

2323
class Kinetics(VisionDataset):
24-
"""`Generic Kinetics <https://deepmind.com/research/open-source/open-source-datasets/kinetics/>`_
24+
"""`Generic Kinetics <https://www.deepmind.com/open-source/kinetics>`_
2525
dataset.
2626
2727
Kinetics-400/600/700 are action recognition video datasets.

torchvision/models/quantization/googlenet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def googlenet(
165165
quantize (bool, optional): If True, return a quantized version of the model. Default is False.
166166
**kwargs: parameters passed to the ``torchvision.models.quantization.QuantizableGoogLeNet``
167167
base class. Please refer to the `source code
168-
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization.googlenet.py>`_
168+
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization/googlenet.py>`_
169169
for more details about this class.
170170
171171
.. autoclass:: torchvision.models.quantization.GoogLeNet_QuantizedWeights

torchvision/models/quantization/resnet.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def resnet18(
302302
quantize (bool, optional): If True, return a quantized version of the model. Default is False.
303303
**kwargs: parameters passed to the ``torchvision.models.quantization.QuantizableResNet``
304304
base class. Please refer to the `source code
305-
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization.resnet.py>`_
305+
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization/resnet.py>`_
306306
for more details about this class.
307307
308308
.. autoclass:: torchvision.models.quantization.ResNet18_QuantizedWeights
@@ -351,7 +351,7 @@ def resnet50(
351351
quantize (bool, optional): If True, return a quantized version of the model. Default is False.
352352
**kwargs: parameters passed to the ``torchvision.models.quantization.QuantizableResNet``
353353
base class. Please refer to the `source code
354-
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization.resnet.py>`_
354+
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization/resnet.py>`_
355355
for more details about this class.
356356
357357
.. autoclass:: torchvision.models.quantization.ResNet50_QuantizedWeights
@@ -400,7 +400,7 @@ def resnext101_32x8d(
400400
quantize (bool, optional): If True, return a quantized version of the model. Default is False.
401401
**kwargs: parameters passed to the ``torchvision.models.quantization.QuantizableResNet``
402402
base class. Please refer to the `source code
403-
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization.resnet.py>`_
403+
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization/resnet.py>`_
404404
for more details about this class.
405405
406406
.. autoclass:: torchvision.models.quantization.ResNeXt101_32X8D_QuantizedWeights
@@ -443,7 +443,7 @@ def resnext101_64x4d(
443443
quantize (bool, optional): If True, return a quantized version of the model. Default is False.
444444
**kwargs: parameters passed to the ``torchvision.models.quantization.QuantizableResNet``
445445
base class. Please refer to the `source code
446-
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization.resnet.py>`_
446+
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization/resnet.py>`_
447447
for more details about this class.
448448
449449
.. autoclass:: torchvision.models.quantization.ResNeXt101_64X4D_QuantizedWeights

0 commit comments

Comments
 (0)