CMakeFiles/example-app.dir/example-app.cpp.o:在函数‘ROIAlign_forward(at::Tensor const&, at::Tensor const&, double, long, long, long, bool)’中: example-app.cpp:(.text+0x179c):对‘ROIAlign_forward_cuda(at::Tensor const&, at::Tensor const&, double, long, long, long, bool)’未定义的引用 CMakeFiles/example-app.dir/example-app.cpp.o:在函数‘ROIAlign_backward(at::Tensor const&, at::Tensor const&, float, int, int, int, int, int, int, int, bool)’中: example-app.cpp:(.text+0x18a7):对‘ROIAlign_backward_cuda(at::Tensor const&, at::Tensor const&, double, long, long, long, long, long, long, long, bool)’未定义的引用 CMakeFiles/example-app.dir/example-app.cpp.o:在函数‘nms(at::Tensor const&, at::Tensor const&, double)’中: example-app.cpp:(.text+0x1eaa):对‘nms_cuda(at::Tensor const&, at::Tensor const&, double)’未定义的引用 collect2: error: ld returned 1 exit status CMak #2623
Labels
🐛 Bug
To Reproduce
Steps to reproduce the behavior:
CMakeFiles/example-app.dir/example-app.cpp.o:在函数‘ROIAlign_forward(at::Tensor const&, at::Tensor const&, double, long, long, long, bool)’中:
example-app.cpp:(.text+0x179c):对‘ROIAlign_forward_cuda(at::Tensor const&, at::Tensor const&, double, long, long, long, bool)’未定义的引用
CMakeFiles/example-app.dir/example-app.cpp.o:在函数‘ROIAlign_backward(at::Tensor const&, at::Tensor const&, float, int, int, int, int, int, int, int, bool)’中:
example-app.cpp:(.text+0x18a7):对‘ROIAlign_backward_cuda(at::Tensor const&, at::Tensor const&, double, long, long, long, long, long, long, long, bool)’未定义的引用
CMakeFiles/example-app.dir/example-app.cpp.o:在函数‘nms(at::Tensor const&, at::Tensor const&, double)’中:
example-app.cpp:(.text+0x1eaa):对‘nms_cuda(at::Tensor const&, at::Tensor const&, double)’未定义的引用
collect2: error: ld returned 1 exit status
CMakeFiles/example-app.dir/build.make:122: recipe for target 'example-app' failed
make[2]: *** [example-app] Error 1
CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/example-app.dir/all' failed
make[1]: *** [CMakeFiles/example-app.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Environment
pip
/source):Additional context
The text was updated successfully, but these errors were encountered: