Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/autokey/service.py", line 206, in __tryReleaseLock

self.configManager.lock.release()
RuntimeError: release unlocked lock

Traceback (most recent call last):


 "/media/wrc/0EB90E450EB90E45/tianchi_chongqin/mmdetection/tools/test_one_img.py", line 183, in <module>

main()


 "/media/wrc/0EB90E450EB90E45/tianchi_chongqin/mmdetection/tools/test_one_img.py", line 62, in main

result = inference_detector(model, img_path)


 "/media/wrc/0EB90E450EB90E45/coco_train/mmdetection/mmdet/apis/inference.py", line 86, in inference_detector

result = model(return_loss=False, rescale=True, **data)


 "/home/wrc/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in __call__

result = self.forward(*input, **kwargs)


 "/media/wrc/0EB90E450EB90E45/coco_train/mmdetection/mmdet/core/fp16/decorators.py", line 49, in new_func

return old_func(*args, **kwargs)


 "/media/wrc/0EB90E450EB90E45/coco_train/mmdetection/mmdet/models/detectors/base.py", line 140, in forward

return self.forward_test(img, img_meta, **kwargs)


 "/media/wrc/0EB90E450EB90E45/coco_train/mmdetection/mmdet/models/detectors/base.py", line 125, in forward_test

return self.aug_test(imgs, img_metas, **kwargs)


 "/media/wrc/0EB90E450EB90E45/coco_train/mmdetection/mmdet/models/detectors/cascade_rcnn.py", line 414, in aug_test

self.extract_feats(imgs), img_metas, self.test_cfg.rpn)


 "/media/wrc/0EB90E450EB90E45/coco_train/mmdetection/mmdet/models/detectors/test_mixins.py", line 41, in aug_test_rpn

proposal_list = self.simple_test_rpn(x, img_meta, rpn_test_cfg)


 "/media/wrc/0EB90E450EB90E45/coco_train/mmdetection/mmdet/models/detectors/test_mixins.py", line 34, in simple_test_rpn

proposal_list = self.rpn_head.get_bboxes(*proposal_inputs)


 "/media/wrc/0EB90E450EB90E45/coco_train/mmdetection/mmdet/core/fp16/decorators.py", line 127, in new_func

return old_func(*args, **kwargs)


 "/media/wrc/0EB90E450EB90E45/coco_train/mmdetection/mmdet/models/anchor_heads/anchor_head.py", line 276, in get_bboxes

scale_factor, cfg, rescale)


 "/media/wrc/0EB90E450EB90E45/coco_train/mmdetection/mmdet/models/anchor_heads/rpn_head.py", line 92, in get_bboxes_single

proposals, _ = nms(proposals, cfg.nms_thr)


 "/media/wrc/0EB90E450EB90E45/coco_train/mmdetection/mmdet/ops/nms/nms_wrapper.py", line 55, in nms

inds = nms_cuda.nms(dets_th, iou_thr)
RuntimeError: CUDA error: invalid device function (launch_kernel at /pytorch/aten/src/ATen/native/cuda/Loops.cuh:102)
