dingfengshi / TriDet

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

About nms_1d_cpu #23

Open coaast123 opened 10 months ago

coaast123 commented 10 months ago

I often come across questions about nms 1d CPU issues,

Every time I use other code, when I return, it won't run properly and will display 'nms' 1d CPU-0.0.0 py3.8 linux-x86 64. egg/nms 1d CPU. cpython 38 x86 64 Linux gnu. so: undefined symbol: ZN2at4 Ops19empty Memory

dingfengshi commented 10 months ago

it seems that you ran the code in a different environment/device. If you run the code on a different machine with a shared disk. On the first machine, you have to rm -f lib/utils/build first and then python setup.py install. On the second machine, directly run python setup.py install without removing the build folder.