cledouxluma commited on
Commit
3176789
·
verified ·
1 Parent(s): 4eb36fb

Upload setup.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. setup.py +30 -0
setup.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name='facedet',
5
+ version='1.0.0',
6
+ description='Production Face Detection for Video — SCRFD + ByteTrack',
7
+ author='FaceDet Team',
8
+ python_requires='>=3.8',
9
+ packages=find_packages(),
10
+ install_requires=[
11
+ 'torch>=1.10',
12
+ 'torchvision>=0.11',
13
+ 'numpy>=1.20',
14
+ 'opencv-python>=4.5',
15
+ 'pyyaml>=5.4',
16
+ ],
17
+ extras_require={
18
+ 'deploy': ['onnx', 'onnxruntime-gpu', 'onnxsim'],
19
+ 'eval': ['scipy', 'matplotlib'],
20
+ 'dev': ['pytest', 'flake8', 'black'],
21
+ },
22
+ entry_points={
23
+ 'console_scripts': [
24
+ 'facedet-train=scripts.train:main',
25
+ 'facedet-eval=scripts.evaluate:main',
26
+ 'facedet-video=scripts.detect_video:main',
27
+ 'facedet-export=scripts.export:main',
28
+ ],
29
+ },
30
+ )