youngskkim / CRN

[ICCV'23] Official implementation of CRN: Camera Radar Net for Accurate, Robust, Efficient 3D Perception
MIT License
99 stars 15 forks source link

Encountered an Error #1

Closed 123-afri closed 6 months ago

123-afri commented 7 months ago

am currently pursuing my Master's in Artificial Intelligence, and I've utilized your research paper as a fundamental reference for my project implementation. While working on the code, I encountered an error due to the absence of nuscenes_infos_train.pkl and nuscenes_infos_val.pkl files in the directory specified by the code. These files seem crucial for the code's functionality. Could you provide more details or guidance on where to find or generate these files? Your prompt response would greatly assist me as I'm dedicating significant effort to this project and seeking to resolve this issue urgently. Thank you.

Gang-Chen-China commented 7 months ago

am currently pursuing my Master's in Artificial Intelligence, and I've utilized your research paper as a fundamental reference for my project implementation. While working on the code, I encountered an error due to the absence of nuscenes_infos_train.pkl and nuscenes_infos_val.pkl files in the directory specified by the code. These files seem crucial for the code's functionality. Could you provide more details or guidance on where to find or generate these files? Your prompt response would greatly assist me as I'm dedicating significant effort to this project and seeking to resolve this issue urgently. Thank you.

Have you tried: python scripts/gen_info.py

youngskkim commented 6 months ago

As @Gang-Chen-China suggested, you can generate nuscenes_infos_[train,val].pkl files using python scripts/gen_info.py.

Gang-Chen-China commented 6 months ago

Can you provide more details about your problems?

123-afri commented 6 months ago

Dear sir you did not specify python file about the training and evaluation as in the following command it is not specified. For training: python [EXP_PATH] --amp_backend native -b 4 --gpus 4 For evaluation: python [EXP_PATH] --ckpt_path [CKPT_PATH] -e -b 4 --gpus 4 Could you clarify above two commands that what should be provided in the place of EXP_PATH? Please brief me about this issue. Please reply me as soon as possible. Thankyou.

123-afri commented 6 months ago

Could you please tell me about the dataset's size used in the project? Additionally, could you provide its data path, structure, and include a screenshot for reference? I'd appreciate a comprehensive explanation regarding the dataset's specifics.

Gang-Chen-China commented 6 months ago

Can you provide your screenshot? because it's not difficult to use this repo.

Dear sir you did not specify python file about the training and evaluation as in the following command it is not specified. For training: python [EXP_PATH] --amp_backend native -b 4 --gpus 4 For evaluation: python [EXP_PATH] --ckpt_path [CKPT_PATH] -e -b 4 --gpus 4 Could you clarify above two commands that what should be provided in the place of EXP_PATH? Please brief me about this issue. Please reply me as soon as possible. Thankyou.

If you want to train the model, you can use this command: python ./exps/det /CRN_r50_256x704_128x128_4key.py --amp_backend native -b 4 --gpus 4

123-afri commented 6 months ago

When I run the command in the above comment for training. I found this error which are given in the pic. IMG_20240102_143403

Gang-Chen-China commented 6 months ago

Do you succeed generate nuscenes_infos_train.pkl in the directory /data/nuScenes?

Gang-Chen-China commented 6 months ago

When I run the command in the above comment for training. I found this error which are given in the pic. IMG_20240102_143403

The folder structure will be as follows: CRN ├── data │ ├── nuScenes │ │ ├── nuscenes_infos_train.pkl │ │ ├── nuscenes_infos_val.pkl │ │ ├── maps │ │ ├── samples │ │ ├── sweeps | | ├── depth_gt | | ├── radar_bev_filter # temporary folder, safe to delete | | ├── radar_pv_filter | | ├── v1.0-trainval

123-afri commented 6 months ago

Despite I have images in the Sample directory IMG_20240102_144320

123-afri commented 6 months ago

Do you succeed generate nuscenes_infos_train.pkl in the directory /data/nuScenes?

Yes I succeed. You can see it in the attach pic. IMG_20240102_144658

123-afri commented 6 months ago

Aoa dear sir please reply me.