Open houw0517 opened 2 years ago
corner_pool需要编译,是否是编译过程中出现什么问题
我也遇到了类似是的问题,编译过程中的确出现了问题sigmoid_focal_loss_cuda.obj : error LNK2001: 无法解析的外部符号 "public: long __cdecl at::Tensor::item
我也遇到了类似是的问题,编译过程中的确出现了问题sigmoid_focal_loss_cuda.obj : error LNK2001: 无法解析的外部符号 "public: long __cdecl at::Tensor::item(void)const " (??$item@J@Tensor@at@@QEBAJXZ) build\lib.win-amd64-3.7\mmdet\ops\sigmoid_focal_loss\sigmoid_focal_loss_ext.pyd : fatal error LNK1120: 1 个无法解析的外部命令 error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe' failed with exit code 1120,但是我不知道如何修改
Have you solved it?
运行命令 python tools/train.py configs/obb/faster_rcnn_obb/faster_rcnn_obb_r50_fpn_1x_dota10.py 报错
File "/home/hw/Project/OBBDetection/mmdet/ops/corner_pool/corner_pool.py", line 4, in
from . import corner_pool_ext
ImportError: cannot import name 'corner_pool_ext' from 'mmdet.ops.corner_pool'