zhanght021 / RPT

RPT: Learning Point Set Representation for Siamese Visual Tracking
MIT License
85 stars 16 forks source link

编译错误 #6

Open momo-github-1984 opened 3 years ago

momo-github-1984 commented 3 years ago

在配置环境的最后一步: python ./siamreppoints/setup.py build_ext --inplace 出现错误:error: command '/usr/local/cuda-9.0/bin/nvcc' failed with exit status 1 所有步骤都是按照建议进行的,网上查了很多资料也还是没有解决。 大家有知道如何解决的吗?

zhanght021 commented 3 years ago

这一步的功能就是来编译head上用到的DCN,建议是先cd siamreppoints ,然后再python setup.py build_ext --inplace 不然可能会出错 这部分的代码来自于https://github.com/tianzhi0549/FCOS 以及目标检测框架mmdetection中 @momo-github-1984

momo-github-1984 commented 3 years ago

这一步的功能就是来编译head上用到的DCN,建议是先cd siamreppoints,然后再python setup.py build_ext --inplace不然可能会出错 这部分的代码来自于https://github.com/tianzhi0549/ FCOS @ momo-github-1984

感谢这么快回复我! 不过我其实看了您在另一个问题的回答。先cd siamreppoints再编译,我也试过了,还是同样的错误。。。

zhanght021 commented 3 years ago

那应该是环境配置的问题,你可以去FCOS,或者reppoints上看看https://github.com/microsoft/RepPoints 这个代码几乎存在在所有的检测算法当中,因为很多检测算法都会用上DCN或者roialign,所以是必须编译这个模块的,,,, 还有就是是必须先cd,然后编译,不然一定是错的,,,,,, 环境的话cuda9 以及gcc>4.9应该是不会有别的问题的

momo-github-1984 commented 3 years ago

那应该是环境配置的问题,你可以去FCOS,或者reppoints上看看https://github.com/microsoft/RepPoints 这个代码几乎存在在所有的检测算法当中,应该很多检测算法都会用上DCN或者roialign,所以是必须编译这个模块的,,,, 还有就是是必须先cd,然后编译,不然一定是错的,,,,,,

好的!非常感谢!