From da3794e90c7cf69348f5446471926729c55f243e Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Fri, 17 Jun 2022 16:48:47 +0100 Subject: [PATCH] Fix all broken URLs (#6176) (#6177) --- torchvision/datasets/caltech.py | 4 ++-- torchvision/datasets/kinetics.py | 2 +- torchvision/models/quantization/googlenet.py | 2 +- torchvision/models/quantization/resnet.py | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/torchvision/datasets/caltech.py b/torchvision/datasets/caltech.py index b0fa7310cf2..e95043ce2de 100644 --- a/torchvision/datasets/caltech.py +++ b/torchvision/datasets/caltech.py @@ -9,7 +9,7 @@ class Caltech101(VisionDataset): - """`Caltech 101 `_ Dataset. + """`Caltech 101 `_ Dataset. .. warning:: @@ -146,7 +146,7 @@ def extra_repr(self) -> str: class Caltech256(VisionDataset): - """`Caltech 256 `_ Dataset. + """`Caltech 256 `_ Dataset. Args: root (string): Root directory of dataset where directory diff --git a/torchvision/datasets/kinetics.py b/torchvision/datasets/kinetics.py index b3c94c50de1..2ba5e50845e 100644 --- a/torchvision/datasets/kinetics.py +++ b/torchvision/datasets/kinetics.py @@ -21,7 +21,7 @@ def _dl_wrap(tarpath: str, videopath: str, line: str) -> None: class Kinetics(VisionDataset): - """`Generic Kinetics `_ + """`Generic Kinetics `_ dataset. Kinetics-400/600/700 are action recognition video datasets. diff --git a/torchvision/models/quantization/googlenet.py b/torchvision/models/quantization/googlenet.py index 644df8ae496..c535300a68c 100644 --- a/torchvision/models/quantization/googlenet.py +++ b/torchvision/models/quantization/googlenet.py @@ -165,7 +165,7 @@ def googlenet( quantize (bool, optional): If True, return a quantized version of the model. Default is False. **kwargs: parameters passed to the ``torchvision.models.quantization.QuantizableGoogLeNet`` base class. Please refer to the `source code - `_ + `_ for more details about this class. .. autoclass:: torchvision.models.quantization.GoogLeNet_QuantizedWeights diff --git a/torchvision/models/quantization/resnet.py b/torchvision/models/quantization/resnet.py index 891b608ce01..d51bde50a57 100644 --- a/torchvision/models/quantization/resnet.py +++ b/torchvision/models/quantization/resnet.py @@ -302,7 +302,7 @@ def resnet18( quantize (bool, optional): If True, return a quantized version of the model. Default is False. **kwargs: parameters passed to the ``torchvision.models.quantization.QuantizableResNet`` base class. Please refer to the `source code - `_ + `_ for more details about this class. .. autoclass:: torchvision.models.quantization.ResNet18_QuantizedWeights @@ -351,7 +351,7 @@ def resnet50( quantize (bool, optional): If True, return a quantized version of the model. Default is False. **kwargs: parameters passed to the ``torchvision.models.quantization.QuantizableResNet`` base class. Please refer to the `source code - `_ + `_ for more details about this class. .. autoclass:: torchvision.models.quantization.ResNet50_QuantizedWeights @@ -400,7 +400,7 @@ def resnext101_32x8d( quantize (bool, optional): If True, return a quantized version of the model. Default is False. **kwargs: parameters passed to the ``torchvision.models.quantization.QuantizableResNet`` base class. Please refer to the `source code - `_ + `_ for more details about this class. .. autoclass:: torchvision.models.quantization.ResNeXt101_32X8D_QuantizedWeights @@ -443,7 +443,7 @@ def resnext101_64x4d( quantize (bool, optional): If True, return a quantized version of the model. Default is False. **kwargs: parameters passed to the ``torchvision.models.quantization.QuantizableResNet`` base class. Please refer to the `source code - `_ + `_ for more details about this class. .. autoclass:: torchvision.models.quantization.ResNeXt101_64X4D_QuantizedWeights