Skip to content

Commit 4bf264b

Browse files
Update instructions to copy all files (#1462)
* Update instructions to copy all files See issue raised here: pytorch/vision#3630 Basically, just copying the selected files cause import errors, since the coco_eval and coco_utils need to be copied as well. @NicolasHug pinging you here. Thanks! * Update torchvision_tutorial.rst Update instructions about how to install pycocotools Co-authored-by: holly1238 <77758406+holly1238@users.noreply.github.com>
1 parent 78b37e0 commit 4bf264b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

intermediate_source/torchvision_tutorial.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ should return:
5454

5555
If your model returns the above methods, they will make it work for both
5656
training and evaluation, and will use the evaluation scripts from
57-
``pycocotools``.
57+
``pycocotools`` which can be installed with ``pip install pycocotools``.
5858

5959
.. note ::
6060
For Windows, please install ``pycocotools`` from `gautamchitnis <https://github.com/gautamchitnis/cocoapi>`__ with command
@@ -317,8 +317,8 @@ Putting everything together
317317
In ``references/detection/``, we have a number of helper functions to
318318
simplify training and evaluating detection models. Here, we will use
319319
``references/detection/engine.py``, ``references/detection/utils.py``
320-
and ``references/detection/transforms.py``. Just copy them to your
321-
folder and use them here.
320+
and ``references/detection/transforms.py``. Just copy everything under
321+
``references/detection`` to your folder and use them here.
322322

323323
Let’s write some helper functions for data augmentation /
324324
transformation:

0 commit comments

Comments
 (0)