jhb86253817 / PIPNet

Efficient facial landmark detector
MIT License
412 stars 82 forks source link

numpy, scipy and cython version #57

Open themis0888 opened 1 month ago

themis0888 commented 1 month ago

Thanks for your great work and for sharing the code. This repo is really helping so much for many other project.

By the way, since this repo was published a long time ago, some libraries, such as scipyand numpy deleted some attributes or functions, so this might not work with recent version of libraries.

If you have problems, please try changing the np.int_t to np.int64_t in FaceboxV2/utils/nms/cpu_nms.pyx and change the scipy.integrate.sims to scipy.integrate.simson.

In my case, the Cython also caused some problems but I don't remember how did I fix that.

Thank you!