TRAILab / CaDDN

Categorical Depth Distribution Network for Monocular 3D Object Detection (CVPR 2021 Oral)
Apache License 2.0
359 stars 62 forks source link

DATA_CONFIG not found error #84

Closed qwedaq closed 2 years ago

qwedaq commented 2 years ago

When I run the test.py file I get the following error. Can you please tell me how to solve it?

Traceback (most recent call last): File "test.py", line 199, in main() File "test.py", line 159, in main eval_output_dir = eval_outputdir / ('epoch%s' % epoch_id) / cfg.DATA_CONFIG.DATA_SPLIT['test'] AttributeError: 'EasyDict' object has no attribute 'DATA_CONFIG'

I am using this config file - https://github.com/TRAILab/CaDDN/blob/master/tools/cfgs/dataset_configs/nuscenes_dataset.yaml and ckpt - https://drive.google.com/file/d/13HGW3_zCTKHGVtr_JDHD4Wv64PP5Z2mG/view?usp=sharing (the one shared on the readme)

codyreading commented 2 years ago

Hello.,

CaDDN only is supported for the KITTI dataset. Please use the following config file to run test.py: https://github.com/TRAILab/CaDDN/blob/master/tools/cfgs/kitti_models/CaDDN.yaml

qwedaq commented 2 years ago

Thank you for the response