-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup_nms_gpu.py
41 lines (34 loc) · 978 Bytes
/
setup_nms_gpu.py
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
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env python
from distutils.core import setup
from setuptools import find_packages
from Cython.Distutils import build_ext
from distutils.extension import Extension
import numpy as np
description = """
Collection of Deep Learning Computer Vision Algorithms implemented in Chainer
"""
ext_modules = [
Extension('time_axis_rcnn.model.time_segment_network.util.bbox._nms_gpu_post',
['time_axis_rcnn/model/time_segment_network/util/bbox/_nms_gpu_post.pyx']),
]
cmdclass = {'build_ext': build_ext}
install_requires = [
'chainer==4.0',
'Cython',
'Pillow'
]
setup(
name='time_axis_rcnn',
version='0.5.1',
packages=find_packages(),
author='Yusuke Niitani',
author_email='[email protected]',
license='MIT',
description=description,
install_requires=install_requires,
include_package_data=True,
# for Cython
ext_modules=ext_modules,
cmdclass=cmdclass,
include_dirs=[np.get_include()],
)