Skip to content

Commit 8750d0d

Browse files
authored
[Doc]: Update random_sampler.py (#9033)
neg_pos_up -> neg_pos_ub minor typo fix
1 parent ea2c599 commit 8750d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmdet/core/bbox/samplers/random_sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class RandomSampler(BaseSampler):
1212
Args:
1313
num (int): Number of samples
1414
pos_fraction (float): Fraction of positive samples
15-
neg_pos_up (int, optional): Upper bound number of negative and
15+
neg_pos_ub (int, optional): Upper bound number of negative and
1616
positive samples. Defaults to -1.
1717
add_gt_as_proposals (bool, optional): Whether to add ground truth
1818
boxes as proposals. Defaults to True.

0 commit comments

Comments
 (0)