HuangJunJie2017 / BEVDet

Code base of the BEVDet series .
Apache License 2.0
1.45k stars 265 forks source link

[dev3.0]How to get bevdetv5-nuscenes_infos_train.pkl #337

Open zzpbigpeng opened 7 months ago

zzpbigpeng commented 7 months ago

RUN:

python tools/train.py ./configs/dal/dal-tiny.py

ERROR:

Traceback (most recent call last): File "/opt/conda/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/share/code/BEVDet-dev3.0/mmdet3d/datasets/nuscenes_dataset.py", line 145, in init super().init( File "/share/code/BEVDet-dev3.0/mmdet3d/datasets/custom_3d.py", line 88, in init self.data_infos = self.load_annotations(open(local_path, 'rb')) FileNotFoundError: [Errno 2] No such file or directory: 'data/nuscenes/bevdetv5-nuscenes_infos_train.pkl'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "tools/train.py", line 277, in main() File "tools/train.py", line 226, in main datasets = [build_dataset(cfg.data.train)] File "/share/code/BEVDet-dev3.0/mmdet3d/datasets/builder.py", line 40, in build_dataset dataset = CBGSDataset(build_dataset(cfg['dataset'], default_args)) File "/share/code/BEVDet-dev3.0/mmdet3d/datasets/builder.py", line 44, in build_dataset dataset = build_from_cfg(cfg, DATASETS, default_args) File "/opt/conda/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') FileNotFoundError: NuScenesDataset: [Errno 2] No such file or directory: 'data/nuscenes/bevdetv5-nuscenes_infos_train.pkl'

ANALYZE:

I am missing the bevdetv5-nuscenes_infos_train.pkl. I downloaded version 3.0 of the code and used the script you provided to generate the corresponding pkl file for nuscenes, but what was generated was bevdetv3-nuscenes_infos_train.pkl. _I want to know how to generate bevdetv5-nuscenes_infostrain.pkl?

yuezhao1 commented 4 months ago

@zzpbigpeng Have you solved this problem yet?

Wansit99 commented 1 month ago

I think the author made a typo. I checked the config for bevdet and it's all bevdetv3-nuscenes.