Open sssssshf opened 1 year ago
You should donwgrade your pytorch version
You should donwgrade your pytorch version
main-master requests pytorch >= 1.9 .my pytorch version = 2.0
As far as I know, <THC/THC.h> has been removed after torch >=1.11. You can refer to this issue https://github.com/open-mmlab/mmdetection3d/issues/1332
/media/shf/sda/code/GLIP-main/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu:5:10: fatal error: THC/THC.h: 没有那个文件或目录 5 | #include <THC/THC.h> | ^
~~compilation terminated. error: command '/usr/local/cuda-11.7/bin/nvcc' failed with exit code 1