OpenPCDet icon indicating copy to clipboard operation
OpenPCDet copied to clipboard

FileNotFoundError: [Errno 2] No such file or directory: 'cfgs/dataset_configs/kitti_dataset.yaml'

Open hitbuyi opened this issue 1 year ago • 1 comments

I use vscode to debug OpenPCDet, and found second.yaml file include relative path, so vscode can't find the configure file if the work diretory is set and

OpenPCDet
├── build
├── data
├── docker
├── docs
├── LICENSE
├── model -> /media/hitbuyi/Crucial_X6/models/OpenPCDet/model/
├── note.txt
├── pcdet
├── pcdet.egg-info
├── README.md
├── requirements.txt
├── setup.py
├── tmp
└── tools

In terminal,run demo as python tools/demo.py --cfg_file cfgs/kitti_models/second.yaml --ckpt ../model/second_7862.pth --data_path ../data/kitti/testing/velodyne/000001.bin it can't work. the root cause is that yaml file contain relative path assume .../tools/ as working directory, in my opion, this brings much inconvenience in vscode and pycharm environemnts

hitbuyi avatar Apr 21 '24 10:04 hitbuyi

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar May 22 '24 01:05 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jun 05 '24 01:06 github-actions[bot]