File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 10
10
class CocoDetection (VisionDataset ):
11
11
"""`MS Coco Detection <https://cocodataset.org/#detection-2016>`_ Dataset.
12
12
13
- It requires the `COCO API to be installed <https://github.com/pdollar/coco/tree/master/PythonAPI>`_.
13
+ It requires `pycocotools <https://github.com/ppwwyyxx/cocoapi>`_ to be installed,
14
+ which could be installed via ``pip install pycocotools`` or ``conda install conda-forge::pycocotools``.
14
15
15
16
Args:
16
17
root (str or ``pathlib.Path``): Root directory where images are downloaded to.
@@ -65,7 +66,8 @@ def __len__(self) -> int:
65
66
class CocoCaptions (CocoDetection ):
66
67
"""`MS Coco Captions <https://cocodataset.org/#captions-2015>`_ Dataset.
67
68
68
- It requires the `COCO API to be installed <https://github.com/pdollar/coco/tree/master/PythonAPI>`_.
69
+ It requires `pycocotools <https://github.com/ppwwyyxx/cocoapi>`_ to be installed,
70
+ which could be installed via ``pip install pycocotools`` or ``conda install conda-forge::pycocotools``.
69
71
70
72
Args:
71
73
root (str or ``pathlib.Path``): Root directory where images are downloaded to.
You can’t perform that action at this time.
0 commit comments