Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix all broken URLs in docs #6176

Merged
merged 1 commit into from Jun 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions torchvision/datasets/caltech.py
Expand Up @@ -9,7 +9,7 @@


class Caltech101(VisionDataset):
"""`Caltech 101 <http://www.vision.caltech.edu/Image_Datasets/Caltech101/>`_ Dataset.
"""`Caltech 101 <https://data.caltech.edu/records/20086>`_ Dataset.

.. warning::

Expand Down Expand Up @@ -146,7 +146,7 @@ def extra_repr(self) -> str:


class Caltech256(VisionDataset):
"""`Caltech 256 <http://www.vision.caltech.edu/Image_Datasets/Caltech256/>`_ Dataset.
"""`Caltech 256 <https://data.caltech.edu/records/20087>`_ Dataset.

Args:
root (string): Root directory of dataset where directory
Expand Down
2 changes: 1 addition & 1 deletion torchvision/datasets/kinetics.py
Expand Up @@ -21,7 +21,7 @@ def _dl_wrap(tarpath: str, videopath: str, line: str) -> None:


class Kinetics(VisionDataset):
"""`Generic Kinetics <https://deepmind.com/research/open-source/open-source-datasets/kinetics/>`_
"""`Generic Kinetics <https://www.deepmind.com/open-source/kinetics>`_
dataset.

Kinetics-400/600/700 are action recognition video datasets.
Expand Down
2 changes: 1 addition & 1 deletion torchvision/models/quantization/googlenet.py
Expand Up @@ -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
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization.googlenet.py>`_
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization/googlenet.py>`_
for more details about this class.

.. autoclass:: torchvision.models.quantization.GoogLeNet_QuantizedWeights
Expand Down
8 changes: 4 additions & 4 deletions torchvision/models/quantization/resnet.py
Expand Up @@ -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
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization.resnet.py>`_
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization/resnet.py>`_
for more details about this class.

.. autoclass:: torchvision.models.quantization.ResNet18_QuantizedWeights
Expand Down Expand Up @@ -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
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization.resnet.py>`_
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization/resnet.py>`_
for more details about this class.

.. autoclass:: torchvision.models.quantization.ResNet50_QuantizedWeights
Expand Down Expand Up @@ -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
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization.resnet.py>`_
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization/resnet.py>`_
for more details about this class.

.. autoclass:: torchvision.models.quantization.ResNeXt101_32X8D_QuantizedWeights
Expand Down Expand Up @@ -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
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization.resnet.py>`_
<https://github.com/pytorch/vision/blob/main/torchvision/models/quantization/resnet.py>`_
for more details about this class.

.. autoclass:: torchvision.models.quantization.ResNeXt101_64X4D_QuantizedWeights
Expand Down
4 changes: 2 additions & 2 deletions torchvision/prototype/datasets/_builtin/caltech.py
Expand Up @@ -30,7 +30,7 @@ def _caltech101_info() -> Dict[str, Any]:
@register_dataset("caltech101")
class Caltech101(Dataset):
"""
- **homepage**: http://www.vision.caltech.edu/Image_Datasets/Caltech101
- **homepage**: https://data.caltech.edu/records/20086
- **dependencies**:
- <scipy `https://scipy.org/`>_
"""
Expand Down Expand Up @@ -159,7 +159,7 @@ def _caltech256_info() -> Dict[str, Any]:
@register_dataset("caltech256")
class Caltech256(Dataset):
"""
- **homepage**: http://www.vision.caltech.edu/Image_Datasets/Caltech256
- **homepage**: https://data.caltech.edu/records/20087
"""

def __init__(
Expand Down