Commit 05256062 authored by liyinhao's avatar liyinhao
Browse files

Fix data_path in pkl

parent 9be9b11e
......@@ -281,13 +281,9 @@ def create_groundtruth_database(dataset_class_name,
gt_points.tofile(f)
if (used_classes is None) or names[i] in used_classes:
if relative_path:
db_path = osp.join(data_path, filename)
else:
db_path = filepath
db_info = {
'name': names[i],
'path': db_path,
'path': osp.join(f'{info_prefix}_gt_database', filename),
'image_idx': image_idx,
'gt_idx': i,
'box3d_lidar': gt_boxes_3d[i],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment