Skip to content
This repository was archived by the owner on Jul 2, 2021. It is now read-only.

Commit 6390d76

Browse files
committed
fix doc
1 parent 5b5c88c commit 6390d76

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

chainercv/datasets/imagenet/imagenet_det_bbox_dataset.py

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,23 @@ class ImagenetDetBboxDataset(GetterDataset):
1919
imagenet-object-detection-challenge
2020
2121
Please refer to the readme of ILSVRC2014 dev kit for a comprehensive
22-
documentation. Note that detection part of ILSVRC has not changed from
23-
2014. Overview of annotation process is described in the `paper`_.
22+
documentation. Note that the detection part of ILSVRC has not changed since
23+
2014. An overview of annotation process is described in the `paper`_.
2424
2525
.. _`paper`: http://ai.stanford.edu/~olga/papers/chi2014-MultiLabel.pdf
2626
2727
Every image in the training set has one or more image-level labels.
28-
The image-level labels determine the partial presence, full presence or
28+
The image-level labels determine the full presence, partial presence or
2929
absence of one or more object categories.
30-
Bounding boxes are provided around instances of the present
31-
categories.
30+
Bounding boxes are provided around instances of the present categories.
3231
3332
Args:
3433
data_dir (string): Path to the root of the training data. If this is
35-
:obj:`auto`, this uses
36-
:obj:`$CHAINER_DATASET_ROOT/pfnet/chainercv/imagenet` by default.
37-
split ({'train', 'val'}): Select a split of the
38-
dataset.
34+
:obj:`auto`,
35+
:obj:`$CHAINER_DATASET_ROOT/pfnet/chainercv/imagenet` is used.
36+
split ({'train', 'val'}): Selects a split of the dataset.
3937
return_img_label (bool): If :obj:`True`, this dataset returns
40-
image-wise labels. This consits of two arrays:
38+
image-wise labels. This consists of two arrays:
4139
:obj:`img_label` and :obj:`img_label_type`.
4240
4341
This dataset returns the following data.
@@ -56,10 +54,10 @@ class ImagenetDetBboxDataset(GetterDataset):
5654
:obj:`img_label_type` [#imagenet_det_1]_ [#imagenet_det_2]_, \
5755
":math:`(M,)`", :obj:`int32`, ":math:`[-1, 1]`"
5856
59-
.. [#imagenet_det_1] available \
57+
.. [#imagenet_det_1] available
6058
if :obj:`return_img_label = True`.
61-
.. [#imagenet_det_2] :obj:`-1` means absent. :obj:`1` means present. \
62-
:obj:`0` means partially present. When a category is partially \
59+
.. [#imagenet_det_2] :obj:`-1` means absent. :obj:`1` means present.
60+
:obj:`0` means partially present. When a category is partially
6361
present, the image contains at least one
6462
instance of X, but not all instances of X may be annotated with
6563
bounding boxes.

0 commit comments

Comments
 (0)