error: identifier “AT_CHECK“ is undefined

问题:运行 python setup.py install 报错error: identifier “AT_CHECK” is undefined

在对应报错文件中添加

#ifndef AT_CHECK
#define AT_CHECK TORCH_CHECK 
#endif

参考来源:https://github.com/mrlooi/rotated_maskrcnn/issues/31

你可能感兴趣的:(python)