microsoft / GLIP

Grounded Language-Image Pre-training
MIT License
2.18k stars 191 forks source link

? #145

Open sssssshf opened 1 year ago

sssssshf commented 1 year ago

/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

CDchenlin commented 1 year ago

You should donwgrade your pytorch version

sssssshf commented 1 year ago

You should donwgrade your pytorch version

main-master requests pytorch >= 1.9 .my pytorch version = 2.0

CDchenlin commented 1 year ago

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