Ejemplo n.º 1
0
def nuscenes_data_prep(root_path, version, nsweeps=10, filter_zero=True):
    nu_ds.create_nuscenes_infos(root_path, version=version, nsweeps=nsweeps, filter_zero=filter_zero)
    create_groundtruth_database(
        "NUSC",
        root_path,
        Path(root_path) / "infos_train_{:02d}sweeps_withvelo.pkl".format(nsweeps),
        nsweeps=nsweeps,
    )
Ejemplo n.º 2
0
def nuscenes_data_prep(root_path,
                       version,
                       nsweeps=10,
                       filter_zero=True,
                       virtual=False):
    nu_ds.create_nuscenes_infos(root_path,
                                version=version,
                                nsweeps=nsweeps,
                                filter_zero=filter_zero)
    if version == 'v1.0-trainval':
        create_groundtruth_database(
            "NUSC",
            root_path,
            Path(root_path) /
            "infos_train_{:02d}sweeps_withvelo_filter_{}.pkl".format(
                nsweeps, filter_zero),
            nsweeps=nsweeps,
            virtual=virtual)
Ejemplo n.º 3
0
def nuscenes_data_prep(root_path, version, nsweeps=10):
    nu_ds.create_nuscenes_infos(root_path, version=version, nsweeps=nsweeps)