pytorch_face_landmark icon indicating copy to clipboard operation
pytorch_face_landmark copied to clipboard

windows build `build_cpu_nms.sh` need to change setting.

Open Animadversio opened this issue 4 years ago • 0 comments

This is a fantastic package!

I noted that trying to build_cpu_nms on Windows system will throw an compilation error about '/Wno-cpp'

cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'

This is related to this issue mentioned in cocodataset https://github.com/cocodataset/cocoapi/issues/51

The quick fix to it is to change L47 in FaceBoxes\utils\build.py from extra_compile_args=["-Wno-cpp", "-Wno-unused-function"],# to extra_compile_args={'gcc': ['/Qstd=c99']},#["-Wno-cpp", "-Wno-unused-function"],

Animadversio avatar Jun 10 '21 05:06 Animadversio