Skip to content

Commit efec662

Browse files
authored
Merge branch 'master' into f_string_inconsistencies
2 parents 63c0142 + 521b123 commit efec662

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.jenkins/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export LANG=C.UTF-8
1212

1313
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
1414

15+
# Update root certificates by installing new libgnutls30
16+
sudo apt-get update || sudo apt-get install libgnutls30
1517
sudo apt-get update
1618
sudo apt-get install -y --no-install-recommends unzip p7zip-full sox libsox-dev libsox-fmt-all rsync
1719

intermediate_source/torchvision_tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ way of doing it:
220220
import torchvision
221221
from torchvision.models.detection.faster_rcnn import FastRCNNPredictor
222222
223-
# load a model pre-trained pre-trained on COCO
223+
# load a model pre-trained on COCO
224224
model = torchvision.models.detection.fasterrcnn_resnet50_fpn(pretrained=True)
225225
226226
# replace the classifier with a new one, that has
@@ -290,7 +290,7 @@ be using Mask R-CNN:
290290
291291
292292
def get_model_instance_segmentation(num_classes):
293-
# load an instance segmentation model pre-trained pre-trained on COCO
293+
# load an instance segmentation model pre-trained on COCO
294294
model = torchvision.models.detection.maskrcnn_resnet50_fpn(pretrained=True)
295295
296296
# get number of input features for the classifier

recipes_source/recipes/loading_data_recipe.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
`torch.utils.data.Dataset <https://pytorch.org/docs/stable/data.html#torch.utils.data.Dataset>`__.
1515
These datasets are currently available in:
1616
17-
* `torchvision <https://pytorch.org/docs/stable/torchvision/datasets.html>`__
18-
* `torchaudio <https://pytorch.org/audio/datasets.html>`__
19-
* `torchtext <https://pytorch.org/text/datasets.html>`__
17+
* `torchvision <https://pytorch.org/vision/stable/datasets.html>`__
18+
* `torchaudio <https://pytorch.org/audio/stable/datasets.html>`__
19+
* `torchtext <https://pytorch.org/text/stable/datasets.html>`__
2020
2121
with more to come.
2222
Using the Yesno dataset from ``torchaudio.datasets.YESNO``, we will

0 commit comments

Comments
 (0)