Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when make RetinaFace #2549

Open
TanganHitam1 opened this issue Mar 27, 2024 · 0 comments
Open

Error when make RetinaFace #2549

TanganHitam1 opened this issue Mar 27, 2024 · 0 comments

Comments

@TanganHitam1
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant