question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows Support For RetinaFace

See original GitHub issue

Would you please consider supporting Windows for RetinaFace?

The bbox and other cython related codes are written to make use of Linux’s GCC to compile and without Linux we can’t test the code on Windows platforms.

Thanks for the great support.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:16

github_iconTop GitHub Comments

7reactions
loscheriscommented, May 25, 2019

Instead of using python implementation, you can try to compile *.pyx files into windows binaries (*.pyd) :

  1. Replace setup.py in RetinaFace/rcnn/cython dir to:
# setup.py
from distutils.core import setup, Extension
from Cython.Build import cythonize
import numpy

setup(
    ext_modules=cythonize(["bbox.pyx", "anchors.pyx", "cpu_nms.pyx"]),
    include_dirs=[numpy.get_include()]
)
  1. Use cmd to run python setup.py build_ext --inplace in RetinaFace/rcnn/cython dir

  2. Copy the three windows binaries (*.pyd) generated in RetinaFace/rcnn/cython/rcnn/cpython to RetinaFace/rcnn/cython

  3. Run the test code : )

5reactions
miwaliucommented, May 14, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

miwaliu/Retinaface: Retinaface windows - GitHub
RetinaFace. RetinaFace windows. Install. Install MXNet with GPU support. Testing. Please check test.py for testing. Third-party Models.
Read more >
retina-face - PyPI
RetinaFace is a deep learning based cutting-edge facial detector for Python coming with facial landmarks. Its detection performance is amazing even in the...
Read more >
retinaface-anti-cov - OpenVINO™ Documentation
RetinaFace -Anti-Cov is a customized one stage face detector to help people protect themselves from CovID-19. More details provided in the paper and ......
Read more >
Why didn't Windows Hello facial recognition recognize me?
This sets an even higher standard for recognition and may especially cause problems in darkened rooms. Facebook · LinkedIn · Email. Need more...
Read more >
Single-shot Multi-level Face Localization in the Wild
RetinaFace [2] is a deep learning model that detects faces in images by proposing ... Furthermore, Knet does not have support for multi-GPU...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found