Download widerface_evaluate/setup.py from datnguyentien204/FaceDetection: direct link, hf CLI and curl.
- Browser
- Download file 341 Bytes
-
https://huggingface.co/datasets/datnguyentien204/FaceDetection/resolve/main/widerface_evaluate/setup.py
- Command line
-
hf download hf://datasets/datnguyentien204/FaceDetection/widerface_evaluate/setup.py
-
curl -L -o setup.py https://huggingface.co/datasets/datnguyentien204/FaceDetection/resolve/main/widerface_evaluate/setup.py
341 Bytes
| """ | |
| WiderFace evaluation code | |
| author: wondervictor | |
| mail: tianhengcheng@gmail.com | |
| copyright@wondervictor | |
| """ | |
| from distutils.core import setup, Extension | |
| from Cython.Build import cythonize | |
| import numpy | |
| package = Extension('bbox', ['box_overlaps.pyx'], include_dirs=[numpy.get_include()]) | |
| setup(ext_modules=cythonize([package])) | |