hasanirtiza / Pedestron

[Pedestron] Generalizable Pedestrian Detection: The Elephant In The Room. @ CVPR2021
https://openaccess.thecvf.com/content/CVPR2021/papers/Hasan_Generalizable_Pedestrian_Detection_The_Elephant_in_the_Room_CVPR_2021_paper.pdf
Apache License 2.0
682 stars 159 forks source link

mmdet/ops/roi_align/src/roi_align_kernel.cu(145): error: identifier "THCudaCheck" is undefined #164

Closed wangtingwei1993 closed 10 months ago

wangtingwei1993 commented 10 months ago

I am struggling with an error while executing the command 'python setup.py develop' by following the installation guide. It seems that this error is caused by the Pytorch library. I am using Pytorch 1.13.1 for cuda 11.7. Any idea about how to solve this issue? Thanks a lot!

hasanirtiza commented 10 months ago

Almost certainly it is related to versions miss match. For starters your pytorch version seem too high. Check the installation file (https://github.com/hasanirtiza/Pedestron/blob/master/INSTALL.md) and also other people have mentioned it check those issues, some instances are here and here for example.