Commit 50c6ae69 authored by Jiangmiao Pang's avatar Jiangmiao Pang Committed by Kai Chen
Browse files

Fix bugs in the configs of Libra R-CNN (#738)

* Fix bugs in the configs of Libra R-CNN

* return configs to 2000 props

* return configs to 1000 props
parent 8f70f9df
...@@ -62,8 +62,8 @@ train_cfg = dict( ...@@ -62,8 +62,8 @@ train_cfg = dict(
pos_sampler=dict(type='InstanceBalancedPosSampler'), pos_sampler=dict(type='InstanceBalancedPosSampler'),
neg_sampler=dict( neg_sampler=dict(
type='IoUBalancedNegSampler', type='IoUBalancedNegSampler',
floor=-1, floor_thr=-1,
floor_thr=0, floor_fraction=0,
num_bins=3)), num_bins=3)),
pos_weight=-1, pos_weight=-1,
debug=False)) debug=False))
......
...@@ -97,8 +97,8 @@ train_cfg = dict( ...@@ -97,8 +97,8 @@ train_cfg = dict(
pos_sampler=dict(type='InstanceBalancedPosSampler'), pos_sampler=dict(type='InstanceBalancedPosSampler'),
neg_sampler=dict( neg_sampler=dict(
type='IoUBalancedNegSampler', type='IoUBalancedNegSampler',
floor=-1, floor_thr=-1,
floor_thr=0, floor_fraction=0,
num_bins=3)), num_bins=3)),
pos_weight=-1, pos_weight=-1,
debug=False)) debug=False))
......
...@@ -97,8 +97,8 @@ train_cfg = dict( ...@@ -97,8 +97,8 @@ train_cfg = dict(
pos_sampler=dict(type='InstanceBalancedPosSampler'), pos_sampler=dict(type='InstanceBalancedPosSampler'),
neg_sampler=dict( neg_sampler=dict(
type='IoUBalancedNegSampler', type='IoUBalancedNegSampler',
floor=-1, floor_thr=-1,
floor_thr=0, floor_fraction=0,
num_bins=3)), num_bins=3)),
pos_weight=-1, pos_weight=-1,
debug=False)) debug=False))
......
...@@ -99,8 +99,8 @@ train_cfg = dict( ...@@ -99,8 +99,8 @@ train_cfg = dict(
pos_sampler=dict(type='InstanceBalancedPosSampler'), pos_sampler=dict(type='InstanceBalancedPosSampler'),
neg_sampler=dict( neg_sampler=dict(
type='IoUBalancedNegSampler', type='IoUBalancedNegSampler',
floor=-1, floor_thr=-1,
floor_thr=0, floor_fraction=0,
num_bins=3)), num_bins=3)),
pos_weight=-1, pos_weight=-1,
debug=False)) debug=False))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment