安装thomasbrandon / mish-cuda错误

git clone https://github.com/thomasbrandon/mish-cuda
cd mish-cuda
python setup.py build install

在最后一步提示:

fatal error: CUDAApplyUtils.cuh: No such file or directory
compilation terminated.

解决方法:把external/CUDAApplyUtils.cuh拷贝到csrc目录下:

cp external/CUDAApplyUtils.cuh csrc/

参考链接:https://github.com/WongKinYiu/ScaledYOLOv4/issues/39

posted @ 2021-04-19 12:04  Luke_Ye  阅读(729)  评论(0编辑  收藏  举报