charlesq34 / frustum-pointnets

Frustum PointNets for 3D Object Detection from RGB-D Data
Apache License 2.0
1.57k stars 538 forks source link

python evaluate.py --data_path ...... error with to evaluate the 3D AP about SUNRGBD dataset #87

Open shengrongjin opened 5 years ago

shengrongjin commented 5 years ago

I had generated 2D detector and made related .pickle files . However ,in the end , when I operated python evaluate.py --data_path ../sunrgbd_data/val_1002.zip.pickle --result_path test_results.pickle --from_rgb_detection . Such errors occured , Traceback (most recent call last): File "evaluate.py", line 29, in TEST_DATASET = roi_seg_box3d_dataset.ROISegBoxDataset(npoints=2048, split='val', rotate_to_center=True, overwritten_data_path=FLAGS.data_path, from_rgb_detection=FLAGS.from_rgb_detection) File "/data/shengData/frustum-pointnets-master/sunrgbd/sunrgbd_detection/roi_seg_box3d_dataset.py", line 200, in init self.id_list, self.box2d_list, self.input_list, self.type_list, self.frustum_angle_list, self.prob_list = load_zipped_pickle(overwritten_data_path)

shengrongjin commented 5 years ago

The correct error is : 7689 6369

Construct GT boxes... (2454, 10) (2454,)

Construct PRED boxes... Traceback (most recent call last): File "evaluate.py", line 101, in print pred_all[1] KeyError: 1

zx970505 commented 4 years ago

The correct error is : 7689 6369

Construct GT boxes... (2454, 10) (2454,)

Construct PRED boxes... Traceback (most recent call last): File "evaluate.py", line 101, in print pred_all[1] KeyError: 1

The correct error is : 7689 6369

Construct GT boxes... (2454, 10) (2454,)

Construct PRED boxes... Traceback (most recent call last): File "evaluate.py", line 101, in print pred_all[1] KeyError: 1

HI, have you solved this problem?I have met it,too,how can i do?