mxin262 / Bridging-Text-Spotting

(CVPR 2024) Bridging the Gap Between End-to-End and Two-Step Text Spotting.
https://arxiv.org/pdf/2404.04624.pdf
Other
48 stars 1 forks source link

python setup.py build develop #9

Open Gavin-debug opened 5 months ago

Gavin-debug commented 5 months ago

运行编译时 一直报错,尝试多种办法也无果,报错信息如下,能麻烦帮忙看看吗?

cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/wgd@corp.sse.tongji.edu.cn/Bridging-Text-Spotting/adet/layers/csrc/DeformAttn/ms_deform_attn_cpu.cpp:14: /home/wgd@corp.sse.tongji.edu.cn/.conda/envs/Bridge/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:5:10: fatal error: cuda_runtime_api.h: No such file or directory 5 | #include | ^~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1

mxin262 commented 5 months ago

使用的是readme建议的环境吗,可以尝试按照readme一步一步配置环境