Closed ilopezfr closed 4 years ago
Commenting out the following from setup.py, which was added in this merge, allowed me to compile it.
CUDAExtension(
name="det3d.ops.nms.nms",
sources=[
"det3d/ops/nms/nms.cc",
# "det3d/ops/nms/nms.h",
"det3d/ops/nms/nms_kernel.cu",
# "det3d/ops/nms/nms_cpu.h",
],
extra_compile_args={"cxx": ["-g"], "nvcc": ["-O2"]},
),
But it then causes this other issue ModuleNotFoundError: No module named 'det3d.ops.nms.nms' when running python tools/create_data.py
. So how do we fix the setup issue in the first place?
For your first question,
/usr/local/cuda/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER is no longer supported. Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions
define CUDACC_VER "CUDACC_VER is no longer supported. Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD instead."
That seems to be some cuda/torch/python version error. Maybe try the thing I mentioned here #71.
When running:
I get:
My system has: