Skip to content

Commit ec5baec

Browse files
committed
Init
1 parent fbf31b2 commit ec5baec

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Coordinates for boxes expected to be normalized e.g in range [0; 1]. Order: x1,
1717
#### NMS, Soft-NMS, NMW
1818

1919
```
20-
from ensemble_boxes_nms import *
20+
from ensemble_boxes import *
2121
# Ensemble for several models predictions
2222
boxes, scores, labels = nms_method(boxes_list, scores_list, labels_list, method=method, weights=weights, iou_thr=iou_thr, sigma=sigma, thresh=thresh)
2323
# Ensemble for single model predictions
@@ -27,7 +27,7 @@ boxes, scores, labels = nms_method([boxes_list], [scores_list], [labels_list], w
2727
#### WBF
2828

2929
```
30-
from ensemble_boxes_wbf import *
30+
from ensemble_boxes import *
3131
# Ensemble for several models predictions
3232
boxes, scores, labels = weighted_boxes_fusion(boxes_list, scores_list, labels_list, method=method, weights=weights, iou_thr=iou_thr, sigma=sigma, thresh=thresh)
3333
# Ensemble for single model predictions
@@ -65,4 +65,4 @@ Ensemble script for them is available here: [example_oid.py](./example_oid.py)
6565

6666
## Description of WBF method
6767

68-
_Details later_
68+
_Details later (arxiv link)_

example_oid.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -295,11 +295,11 @@ def ensemble_predictions(pred_filenames, weights, params):
295295

296296
annotations_path = 'test_data/challenge-2019-validation-detection-bbox-expand_3520.csv'
297297
pred_list = [
298-
'test_data/0.46450_TF_IRV2_atrous_nms_iou_0.3_valid_3520.csv',
299-
'test_data/0.52319_mmdet_ensemble_wbf_all_levels_models_2_thr_1e-08_iou_0.55_1_1_valid_3520.csv',
300-
'test_data/0.52918_ensemble_wbf_v2_all_levels_csvbased_2_thr_1e-09_iou_0.55_type_avg_valid_3520.csv',
301-
'test_data/0.53775_ensemble_wbf_v2_all_levels_csvbased_2_thr_1e-09_iou_0.55_type_avg_valid_3520.csv',
302-
'test_data/0.51145_zfturbo_ensemble_by_labels_5_valid_0.01_3520.csv',
298+
'test_data/0.46450_TF_IRV2_atrous_3520.csv',
299+
'test_data/0.52319_mmdet_3520.csv',
300+
'test_data/0.52918_tensorpack1_3520.csv',
301+
'test_data/0.53775_tensorpack2_3520.csv',
302+
'test_data/0.51145_retinanet_3520.csv',
303303
]
304304
weights = [1, 1, 1, 1, 1]
305305

0 commit comments

Comments
 (0)