Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

create groundtruth database nuscenes commented out, why? #63

Open
dandon223 opened this issue Oct 31, 2023 · 0 comments
Open

create groundtruth database nuscenes commented out, why? #63

dandon223 opened this issue Oct 31, 2023 · 0 comments

Comments

@dandon223
Copy link

dandon223 commented Oct 31, 2023

Hi, I wanted to train sphereformer for 3d detection.
While in detection folder I do:
python -m pcdet.datasets.nuscenes.nuscenes_dataset --func create_nuscenes_infos --cfg_file tools/cfgs/dataset_configs/nuscenes_dataset.yaml --version v1.0-trainval

When I wanted to then train it I used this command in detection/tools folder:
python3 train.py --cfg_file cfgs/nuscenes_models/cbgs_voxel0075_res3d_centerpoint_sphereformer.yaml
I got the error:
AttributeError: 'EasyDict' object has no attribute 'BACKUP_DB_INFO'
After some looking in code I found that file detection/pcdet/datasets/nuscenes/nuscenes_dataset.py has commented out:
nuscenes_dataset = NuScenesDataset(
dataset_cfg=dataset_cfg, class_names=None,
root_path=ROOT_DIR / 'data' / 'nuscenes',
logger=common_utils.create_logger(), training=True)
nuscenes_dataset.create_groundtruth_database(max_sweeps=dataset_cfg.MAX_SWEEPS)

While cbgs_voxel0075_res3d_centerpoint_sphereformer.yaml file has
DB_INFO_PATH:
- nuscenes_dbinfos_10sweeps_withvelo.pkl

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant