Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

Open
zzpbigpeng opened this issue Apr 9, 2024 · 2 comments
Open

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

zzpbigpeng opened this issue Apr 9, 2024 · 2 comments

Comments

@zzpbigpeng
Copy link

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_infos_train.pkl?

@yuezhao1
Copy link

@zzpbigpeng Have you solved this problem yet?

@Wansit99
Copy link

Wansit99 commented Oct 5, 2024

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

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

No branches or pull requests

3 participants