zhanghang1989 / PyTorch-Encoding

A CV toolkit for my papers.
https://hangzhang.org/PyTorch-Encoding/
MIT License
2.04k stars 450 forks source link

lib compile failed #425

Open jesenzhang opened 1 year ago

jesenzhang commented 1 year ago

ubuntu 20.04 + pytorch2.0.1 installed torch-coding 1.2.1 from pip install when run a script in scripts folder ,raise an error incluing this message "gpu/lib_ssd.cu:22:10: fatal error: THC/THCNumerics.cuh: No such file or directory 22 | #include <THC/THCNumerics.cuh> ectify_cuda.cu(114) error: identifier "ScalarConvert" is undefined rectify_cuda.cu(114): error: type name is not allowed"

fpgboy commented 7 months ago

I have the same proplem, how did you deal with it?

jesenzhang commented 7 months ago

I have the same proplem, how did you deal with it? Sorry,I have already forgotten about this matter.