遇到的问题:
pytorch1.13+cu117 openpcdet:0.5.2(官方只测试到pytorch1.10)
fatal error: THC/THC.h: No such file or directory 在1.10后移除了
解决方案:
在ops文件夹下的pointnet2文件夹下的含有以下两句代码的cpp文件进行注释
//#include <THC/THC.h>
...
//extern THCState *state
相关学习:
remove THC.h by zyddnys · Pull Request #37 · CoinCheung/pytorch-loss · GitHub