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

Fix refs to NMS in SSD doc #476

Merged
merged 2 commits into from
Oct 27, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion chainercv/links/model/ssd/multibox_coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def decode(self, mb_loc, mb_conf, nms_thresh=0.45, score_thresh=0.6):
mb_conf (array): A float array whose shape is
:math:`(K, n\_fg\_class + 1)`.
nms_thresh (float): The threshold value
for :meth:`chainercv.transfroms.non_maximum_suppression`.
for :meth:`~chainercv.utils.non_maximum_suppression`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer :func: to :meth: because it is a regular function.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

The default value is :obj:`0.45`.
score_thresh (float): The threshold value for confidence score.
If a bounding box whose confidence score is lower than
Expand Down
2 changes: 1 addition & 1 deletion chainercv/links/model/ssd/ssd.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class SSD(chainer.Chain):

Parameters:
nms_thresh (float): The threshold value
for :meth:`chainercv.transfroms.non_maximum_suppression`.
for :meth:`~chainercv.utils.non_maximum_suppression`.
The default value is :obj:`0.45`.
This value can be changed directly or by using :meth:`use_preset`.
score_thresh (float): The threshold value for confidence score.
Expand Down