顺义网站建设,慈溪怎么做网站,网站制作多少页,中山网红粥在使用如下命令安装TubeTK的cuda_nms时#xff0c;报了一个错误#xff0c;记录一下这个错误和解决办法
(base) redmeryredmery:~/Desktop/MOT/TubeTK/post_processing/nms$ python setup.py build_ext --inplace因为这个命令是在/home/redmery/Desktop/MOT/TubeTK/install/…在使用如下命令安装TubeTK的cuda_nms时报了一个错误记录一下这个错误和解决办法
(base) redmeryredmery:~/Desktop/MOT/TubeTK/post_processing/nms$ python setup.py build_ext --inplace因为这个命令是在/home/redmery/Desktop/MOT/TubeTK/install/compile_local.sh中的 直接将编译的代码在命令行中编译 报错
从报错中查看发现里面有at_check因此搜索后在error: ‘AT_CHECK’ was not declared in this scope解决方法中发现了解决办法将编译文件nms_cuda.cpp中的at_check改为torch_check即
改为
编译通过TubeTK就可以正常使用了 TubeTK正常运行