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

Fix grammatical mistakes in doc #477

Merged
merged 3 commits into from
Nov 29, 2017
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions chainercv/utils/bbox/non_maximum_suppression.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ def non_maximum_suppression(bbox, thresh, score=None,
confidence of prediction.

This function accepts both :obj:`numpy.ndarray` and :obj:`cupy.ndarray` as
inputs. Please note that both :obj:`bbox` and :obj:`score` need to be
same type.
The output is same type as the type of the inputs.
an input. Please note that both :obj:`bbox` and :obj:`score` need to be
the same type.
The type of the output is the same as the input.

Args:
bbox (array): Bounding boxes to be transformed. The shape is
Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorial/detection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Last, an evaluation function is called with the ground truth annotations and the

In contrast to evaluators that hide details,
evaluation functions such as :meth:`chainercv.evaluations.eval_detection_voc`
are provided for those who need finer level of control.
are provided for those who need a finer level of control.
These functions take the ground truth annotations and prediction results as arguments
and return measured performance.

Expand Down