deepinsight / deepinsight/insightface

Error when make RetinaFace

Open
#2,549 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29.7k
Forks
6.1k
PR merge metrics
No merged PRs in 30d

Description

cd rcnn/cython/; python setup.py build_ext --inplace; rm -rf build; cd ../../
Skipping GPU_NMS
running build_ext
Traceback (most recent call last):
File "C:\Users\black\Downloads\Tugas\ArcFace\RetinaFace\insightface-master\detection\retinaface\rcnn\cython\setup.py", line 160, in
setup(
File "C:\Users\black\.conda\envs\retina-face\lib\site-packages\setuptools\__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
File "C:\Users\black\.conda\envs\retina-face\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
File "C:\Users\black\.conda\envs\retina-face\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\black\.conda\envs\retina-face\lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\black\.conda\envs\retina-face\lib\site-packages\setuptools\dist.py", line 989, in run_command
super().run_command(command)
File "C:\Users\black\.conda\envs\retina-face\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\black\.conda\envs\retina-face\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 345, in run
self.build_extensions()
File "C:\Users\black\Downloads\Tugas\ArcFace\RetinaFace\insightface-master\detection\retinaface\rcnn\cython\setup.py", line 121, in build_extensions
customize_compiler_for_nvcc(self.compiler)
File "C:\Users\black\Downloads\Tugas\ArcFace\RetinaFace\insightface-master\detection\retinaface\rcnn\cython\setup.py", line 94, in customize_compiler_for_nvcc
default_compiler_so = self.compiler_so
AttributeError: 'MSVCCompiler' object has no attribute 'compiler_so'
cd rcnn/pycocotools/; python setup.py build_ext --inplace; rm -rf build; cd ../../
Compiling _mask.pyx because it changed.
[1/1] Cythonizing _mask.pyx
C:\Users\black\.conda\envs\retina-face\lib\site-packages\Cython\Compiler\Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: C:\Users\black\Downloads\Tugas\ArcFace\RetinaFace\insightface-master\detection\retinaface\rcnn\pycocotools\_mask.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.