I tried putting the whole log in, but it was too long.
Here's the ending error message:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\detectron2\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cpu.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30037\\bin\\HostX86\\x64\\cl.exe' failed with exit status 1
with: python -m detectron2.utils.collect_env
sys.platform win32
Python 3.6.13 |Anaconda, Inc.| (default, Mar 16 2021, 11:37:27) [MSC v.1916 64 bit (AMD64)]
Numpy 1.19.2
detectron2._C failed to import
DETECTRON2_ENV_MODULE <not set>
PyTorch 1.3.1
PyTorch Debug Build False
torchvision 0.4.2
CUDA available True
GPU 0 NVIDIA GeForce RTX 2070
CUDA_HOME C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7
NVCC Not Available
Pillow 8.3.1
cv2 4.6.0
Researching around, some peole seem to get this issue when the build path is too long?
Notes;
a small amount of shortening the path did not fix it C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\dectron\detectron2\layers\csrc\box_iou_rotated->C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\d\detectron2\layers\csrc\box_iou_rotated
deleting all contents of box_iou_rotated_cpu.cppand building generates the same error
I tried putting the whole log in, but it was too long. Here's the ending error message:
with: python -m detectron2.utils.collect_env
Researching around, some peole seem to get this issue when the build path is too long? Notes;
box_iou_rotated_cpu.cpp
and building generates the same error