lucasjinreal / DCNv2_latest

DCNv2 supports decent pytorch such as torch 1.5+ (now 1.8+)
BSD 3-Clause "New" or "Revised" License
609 stars 125 forks source link

/DCNv2_latest/src/cpu/dcn_v2_cpu.cpp:7:10: fatal error: TH/TH.h: No such file or directory #55

Closed Mengke-Yuan closed 2 years ago

Mengke-Yuan commented 2 years ago

Try to compile on Pytorch 1.11 cuda11.3, but meet the error of : ''' /DCNv2_latest/src/cpu/dcn_v2_cpu.cpp:7:10: fatal error: TH/TH.h: No such file or directory '''

Seems Pytorch 1.11 remove the th.h and thc header https://discuss.pytorch.org/t/question-about-thc-thc-h/147145/10