Open Itay-Krispin opened 2 months ago
Hi, Any ideas?
are you working with mini nuscenes_dataset? if yes go to: OpenPCDet/tools/cfgs/dataset_configs/nuscenes_dataset.yaml and change the version to : VERSION: 'v1.0-mini' Otherwise always check the direktory to your .pkl file
are you working with mini nuscenes_dataset? if yes go to: OpenPCDet/tools/cfgs/dataset_configs/nuscenes_dataset.yaml and change the version to : VERSION: 'v1.0-mini' Otherwise always check the direktory to your .pkl file
Thanks for replying. No I am working with a custom dataset but I figured out the problem :)
The issue can be closed now.
Hi,
I have worked with the framework before and I remeber encountering this problem below but I can't recall how did I solve it :( I have created the dbinfos successully and it seems that all the paths are correct (see screen shots below) so I am not sure what's the issue. Does someone know?
2024-07-04 12:43:20,294 INFO ----------- Create dataloader & network & optimizer ----------- Traceback (most recent call last): File "/home/tauproj1/Innoviz_Project/OpenPCDet-master_New_copy/tools/train.py", line 277, in
main()
File "/home/tauproj1/Innoviz_Project/OpenPCDet-master_New_copy/tools/train.py", line 145, in main
train_set, train_loader, train_sampler = build_dataloader(
^^^^^^^^^^^^^^^^^
File "/home/tauproj1/Innoviz_Project/OpenPCDet-master_New_copy/tools/../pcdet/datasets/init.py", line 69, in build_dataloader
dataset = all[dataset_cfg.DATASET](
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/tauproj1/Innoviz_Project/OpenPCDet-master_New_copy/tools/../pcdet/datasets/custom/custom_dataset.py", line 21, in init
super().init(
File "/home/tauproj1/Innoviz_Project/OpenPCDet-master_New_copy/tools/../pcdet/datasets/dataset.py", line 31, in init
self.data_augmentor = DataAugmentor(
^^^^^^^^^^^^^^
File "/home/tauproj1/Innoviz_Project/OpenPCDet-master_New_copy/tools/../pcdet/datasets/augmentor/data_augmentor.py", line 24, in init
cur_augmentor = getattr(self, cur_cfg.NAME)(config=cur_cfg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/tauproj1/Innoviz_Project/OpenPCDet-master_New_copy/tools/../pcdet/datasets/augmentor/data_augmentor.py", line 40, in gt_sampling
db_sampler = database_sampler.DataBaseSampler(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/tauproj1/Innoviz_Project/OpenPCDet-master_New_copy/tools/../pcdet/datasets/augmentor/database_sampler.py", line 35, in init
sampler_cfg.DB_INFO_PATH[0] = sampler_cfg.BACKUP_DB_INFO['DB_INFO_PATH']
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'EasyDict' object has no attribute 'BACKUP_DB_INFO'