dingfengshi / TriDet

[CVPR2023] Code for the paper, TriDet: Temporal Action Detection with Relative Boundary Modeling
MIT License
160 stars 13 forks source link

Error when installing NMS #36

Open wangxiang-wx opened 5 months ago

wangxiang-wx commented 5 months ago

Hello, I got an error while executing the python setup.py install --user command, the error is as follows, please tell me how to solve it, thank you! 正在创建库 E:\TriDet-master\libs\utils\build\temp.win-amd64-3.8\Release./csrc\nms_1d_cpu.cp38-win_amd64.lib 和对象 E:\TriDet-master\libs\utils\build\temp.win-amd64-3.8\Release./csrc\nms_1d_cpu.cp38-win_amd64.exp nms_cpu.obj : error LNK2001: 无法解析的外部符号 imp___tlsoffset?init@?1??lazy_init_num_threads@internal@at@@YAXXZ@4_NA nms_cpu.obj : error LNK2001: 无法解析的外部符号 imp___tlsindex?init@?1??lazy_init_num_threads@internal@at@@YAXXZ@4_NA build\lib.win-amd64-3.8\nms_1d_cpu.cp38-win_amd64.pyd : fatal error LNK1120: 2 个无法解析的外部命令 error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\link.exe' failed with exit status 1120

wangxiang-wx commented 5 months ago

This problem was solved when I adopted the Linux system,