naurril / SUSTechPOINTS

3D Point Cloud Annotation Platform for Autonomous Driving
GNU General Public License v3.0
839 stars 217 forks source link

trans to kitti problem #106

Open HMX2013 opened 1 year ago

HMX2013 commented 1 year ago

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

naurril commented 1 year ago

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

HMX2013 commented 1 year ago

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

SH-Tan commented 1 year ago

meet the same question

AgapeGithub commented 1 year ago

Hello guys,

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

Thank you very much

YKE999 commented 1 year ago

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 commented 1 year ago

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

yaobaishen commented 1 week ago

Hello guys, Did you find a solution to convert the export format to Kitti please? Thank you very much

#146 (comment)

check this one

thanks the tips, I have succeed to trans to kitti format using the above code.