LINK : fatal error LNK1104: 无法打开文件“H:\code\pycode\cv_related_collections-main\object_detection\Deformable-DETR-main\models\ops\build\temp.win-amd64-3.8\Release\code\pycode\cv_rel
ated_collections-main\object_detection\Deformable-DETR-main\models\ops\src\cpu\MultiScaleDeformableAttention.cp38-win_amd64.lib”
error: command 'D:\\software\\Visual_studio\\IDE\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX86\\x64\\link.exe' failed with exit code 1104
在跑deformer detr时执行sh make.sh 的时候一直报错,浪费了一下午去做各种尝试,最后发现,可能和路径过长有关系,所以以后再编译cuda算子的时候千万不要再犯这样的错了,可以先把ops那个文件夹放到一个短路径的位置。然后进入我们的虚拟环境,执行sh make.sh,最后成功编译完成。

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐