second.pytorch icon indicating copy to clipboard operation
second.pytorch copied to clipboard

ImportError: cannot import name 'non_max_suppression'

Open shaunkheng97 opened this issue 4 years ago • 4 comments

Anyone has a similar problem? Been looking for a solution but seems like none of the tickets are closed nms

shaunkheng97 avatar Feb 15 '21 17:02 shaunkheng97

Make sure torch.cuda.is_available() is true.

chrisakatibs avatar Feb 22 '21 23:02 chrisakatibs

@chrisakatibs mine torch.cuda.is_available() is true. and I also get this error,so what should I do ?

jiaoluonanhai avatar Jul 19 '21 09:07 jiaoluonanhai

I get same the error

tuan97anton avatar May 05 '22 10:05 tuan97anton

I get the same error when I run 'python create_data.py kitti_data_prep --data_path=KITTI_DATASET_ROOT', I resolved the problem by annotating the nms code because it is not used.

leo038 avatar Feb 22 '24 15:02 leo038