-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathREADME.md
More file actions
32 lines (28 loc) · 736 Bytes
/
README.md
File metadata and controls
32 lines (28 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# box_utils
box utils, including iou and nms of bbox and rbbox
a pure version from https://github.com/yangJirui/RRPN_FPN_Tensorflow/tree/master/libs/box_utils
#### build
```
python setup.py build_ext --inplace
```
#### usage
```
python iou_test.py
```
#### output
```
Boxes array 1 shape :
(60000, 5)
Boxes array 2 shape :
(2, 5)
Computing rotated iou with gpu 1st time...
('gpu time: ', 0.22462105751037598)
Computing rotated iou with gpu 2nd time...
('gpu time: ', 0.0014929771423339844)
Computing rotated iou with gpu 3rd time...
('gpu time: ', 0.0014219284057617188)
Computing rotated iou with cpu 1st time...
('cpu time: ', 0.44385290145874023)
Computing rotated iou with cpu 2nd time...
('cpu time: ', 0.4446260929107666)
```