-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
'EasyDict' object has no attribute 'BACKUP_DB_INFO' #1631
Comments
Hi, |
are you working with mini nuscenes_dataset? |
Thanks for replying. No I am working with a custom dataset but I figured out the problem :) The issue can be closed now. |
This issue is stale because it has been open for 30 days with no activity. |
how procees |
I had the same problem before as well, for me the reason seemed to be incomplete dataset |
@ItayKrispin when you solved it, post a solution for others, this is a community. |
Sorry guys haven’t seen the comments until now. |
This issue is stale because it has been open for 30 days with no activity. |
I had the same issue. I solved it by modifying the "DATA_PATH" in the kitti dataset config file. I set it from a relative path to the absolute path of the dataset. |
This issue is stale because it has been open for 30 days with no activity. |
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'
The text was updated successfully, but these errors were encountered: