环境配置:
windows10
python3.6
pytorch1.0.1
遇到的错误:
cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
解决方案:https://github.com/fizyr/keras-retinanet/issues/238 倒数第二个回答。
linux上报错:gcc: error: pycocotools/_mask.c: No such file or directory
error: command 'gcc' failed with exit status 1
解决方法:pip install Cython