Skip to content

Commit

Permalink
clean up nms.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinlei Chen committed Sep 16, 2017
1 parent 250100e commit 85a4559
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 167 deletions.
2 changes: 1 addition & 1 deletion lib/model/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
import math

from utils.timer import Timer
from utils.cython_nms import nms
from utils.blob import im_list_to_blob

from model.config import cfg, get_output_dir
from model.bbox_transform import clip_boxes, bbox_transform_inv
from model.nms_wrapper import nms

def _get_image_blob(im):
"""Converts an image into a network input.
Expand Down
6 changes: 0 additions & 6 deletions lib/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@ def build_extensions(self):
extra_compile_args={'gcc': ["-Wno-cpp", "-Wno-unused-function"]},
include_dirs = [numpy_include]
),
Extension(
"utils.cython_nms",
["utils/nms.pyx"],
extra_compile_args={'gcc': ["-Wno-cpp", "-Wno-unused-function"]},
include_dirs = [numpy_include]
),
Extension(
"nms.cpu_nms",
["nms/cpu_nms.pyx"],
Expand Down
37 changes: 0 additions & 37 deletions lib/utils/nms.py

This file was deleted.

123 changes: 0 additions & 123 deletions lib/utils/nms.pyx

This file was deleted.

0 comments on commit 85a4559

Please sign in to comment.