Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f457e59 commit fc543dfCopy full SHA for fc543df
2 files changed
ssd/utils/nms.py
@@ -9,10 +9,7 @@
9
if torchvision.__version__ >= '0.3.0':
10
_nms = torchvision.ops.nms
11
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 '
+ warnings.warn('No NMS is available. Please upgrade torchvision or compile c++ NMS '
16
'using `cd ext & python build.py build_ext develop`')
17
18
ssd/utils/python_nms.py
0 commit comments