threedod/benchmark_scripts/data_prepare_offline.py [70:88]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    )
    parser.add_argument("--vis", action="store_true")

    args = parser.parse_args()

    # step 0.1: get annotation first,
    # if skipped or no gt boxes, we will not bother calling further steps
    gt_fn = args.gt_path
    skipped, boxes_corners, centers, sizes, labels, uids = extract_gt(gt_fn)
    if skipped or boxes_corners.shape[0] == 0:
        exit()
    n_gt = boxes_corners.shape[0]
    label_type = np.array([labels, uids])

    # step 0.2: data
    data_path = os.path.join(args.data_root, args.scene_id, f"{args.scene_id}_frames")
    print(os.path.abspath(data_path))
    loader = TenFpsDataLoader(
        dataset_cfg=None,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



threedod/benchmark_scripts/data_prepare_online.py [39:57]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    )
    parser.add_argument("--vis", action="store_true")

    args = parser.parse_args()

    # step 0.1: get annotation first,
    # if skipped or no gt, we will not bother calling further steps
    gt_fn = args.gt_path
    skipped, boxes_corners, centers, sizes, labels, uids = extract_gt(gt_fn)
    if skipped or boxes_corners.shape[0] == 0:
        exit()
    n_gt = boxes_corners.shape[0]
    label_type = np.array([labels, uids])

    # step 0.2: data
    data_path = os.path.join(args.data_root, args.scene_id, f"{args.scene_id}_frames")
    print(os.path.abspath(data_path))
    loader = TenFpsDataLoader(
        dataset_cfg=None,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



