SUSTechPOINTS icon indicating copy to clipboard operation
SUSTechPOINTS copied to clipboard

trans to kitti problem

Open HMX2013 opened this issue 1 year ago • 6 comments

Thanks for your excellent work. when using trans_kitti_labels.py, I got the following error.

Traceback (most recent call last): File "trans_kitti_labels.py", line 198, in trans_detection_label(src_label, src_calib, tgt_label) File "trans_kitti_labels.py", line 125, in trans_detection_label filtered_objs = [x for x in objs] File "trans_kitti_labels.py", line 125, in filtered_objs = [x for x in objs] File "trans_kitti_labels.py", line 124, in objs = map(lambda l: parse_one_detection_obj(inv_m, l), lines) File "trans_kitti_labels.py", line 92, in parse_one_detection_obj pos = np.array([float(words[11]), float(words[12]), float(words[13]), 1]).T IndexError: list index out of range

HMX2013 avatar Nov 11 '22 09:11 HMX2013

this tool is translating KITTI to our format, not to KITTI

naurril avatar Nov 12 '22 10:11 naurril

Thank you for your reply. Then how to do the opposite, translating the json file to kitti txt label file.

HMX2013 avatar Nov 14 '22 01:11 HMX2013

meet the same question

SH-Tan avatar Dec 05 '22 02:12 SH-Tan

Hello guys,

Did you find a solution to convert the export format to Kitti please?

Thank you very much

AgapeGithub avatar Apr 13 '23 14:04 AgapeGithub

Thank you for your reply. Then how to do the opposite, translating the json file to kitti txt label file.

https://github.com/naurril/SUSTechPOINTS/issues/146#issuecomment-1507801603

this one may help

YKE999 avatar Apr 20 '23 17:04 YKE999

Hello guys,

Did you find a solution to convert the export format to Kitti please?

Thank you very much

https://github.com/naurril/SUSTechPOINTS/issues/146#issuecomment-1507801603

check this one

YKE999 avatar Apr 20 '23 17:04 YKE999