赞
踩
解决方法如下:
将utils\nms_rotated\src下面的poly_nms_cuda.cu替换,用的是来自【已解决】windows10 install utils.nms_rotated · Issue #224 · hukaixuan19970627/yolov5_obb · GitHub里BD链接的代码
右键nms_rotate进行如下选择
在终端输入
python setup.py build_ext --inplace
编译完成后为如下状态
在我的电脑中找到该项目的nms_rotate中的build文件夹
将utils\nms_rotated\build\lib.win-amd64-3.9下的nms_rotated_ext.cp39-win_amd64.pyd拷贝到utils\nms_rotated目录下即可运行整个代码
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。