PLA icon indicating copy to clipboard operation
PLA copied to clipboard

FileNotFoundError When Running generate_caption.py on Detic Caption Mode

Open Kezia-Nathania opened this issue 3 months ago • 1 comments

Hi, thanks for the great work on this project! I was trying to generate the Detic captions, but ran into the following error.

Traceback (most recent call last): File "generate_caption.py", line 911, in <module> processor.process_detic_crop_caption_with_raw_pred() File "generate_caption.py", line 586, in process_detic_crop_caption_with_raw_pred detic_infos = pickle.load(open(args.detic_info, 'rb')) FileNotFoundError: [Errno 2] No such file or directory: 'nuscenes_v1.0-mini_detic_pred_results.pkl'

It seems that args.detic_info points to nuscenes_v1.0-mini_detic_pred_results.pkl, but I couldn't find this file in the repository. Could you please clarify where I can find this file or how to generate it? Thanks in advance for your help!

Kezia-Nathania avatar Oct 13 '25 15:10 Kezia-Nathania

你好,感谢你在这个项目上的出色工作!我试图生成Detic的字幕,但遇到了以下错误。

Traceback (most recent call last): File "generate_caption.py", line 911, in <module> processor.process_detic_crop_caption_with_raw_pred() File "generate_caption.py", line 586, in process_detic_crop_caption_with_raw_pred detic_infos = pickle.load(open(args.detic_info, 'rb')) FileNotFoundError: [Errno 2] No such file or directory: 'nuscenes_v1.0-mini_detic_pred_results.pkl'

看起来args.detic_info指向nuscenes_v1.0-mini_detic_pred_results.pkl,但我在仓库里找不到这个文件。请问能否说明我在哪里能找到这个文件,或者如何生成它?提前感谢大家的帮助!

Hi,I'm facing the same issue. I was wondering if you had managed to resolve it?

CS-Glowworm avatar Nov 18 '25 07:11 CS-Glowworm