Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc543df

Browse files
committed
remove python nms(too slow)
1 parent f457e59 commit fc543df

2 files changed

Lines changed: 1 addition & 63 deletions

File tree

ssd/utils/nms.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
if torchvision.__version__ >= '0.3.0':
1010
_nms = torchvision.ops.nms
1111
else:
12-
from .python_nms import python_nms
13-
14-
_nms = python_nms
15-
warnings.warn('You are using python version NMS, which is very very slow. Try compile c++ NMS '
12+
warnings.warn('No NMS is available. Please upgrade torchvision or compile c++ NMS '
1613
'using `cd ext & python build.py build_ext develop`')
1714

1815

ssd/utils/python_nms.py

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)