End-to-End Dense Video Captioning with Parallel Decoding
https://github.com/ttengwang/pdvc 好不容易make.sh之后,在运行他的视频demo时,出现问题。
bash test_and_visualize.sh $video_folder $output_folder $pdvc_model_path $output_language
START Dense-Captioning
{'eval_save_dir': 'visualization/output', 'eval_mode': 'test', 'test_video_feature_folder': ['visualization/output/r2plus1d_34-tsp_on_activitynet_stride_16/'], 'test_video_meta_data_csv_path': 'visualization/videos/metadata.csv', 'eval_folder': 'generated_captions', 'eval_model_path': 'save/anet_tsp_pdvc/model-best.pth', 'eval_tool_version': '2018', 'eval_caption_file': 'data/anet/captiondata/val_1.json', 'eval_proposal_type': 'gt', 'eval_transformer_input_type': 'queries', 'gpu_id': ['0'], 'eval_device': 'cuda'}
Traceback (most recent call last):
File "/home/yyang/research/video/video_caption/PDVC/eval.py", line 142, in
main(opt)
File "/home/yyang/research/video/video_caption/PDVC/eval.py", line 52, in main
with open(infos_path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'save/anet_tsp_pdvc/info.json'
START VISUALIZATION
Traceback (most recent call last):
File "/home/yyang/research/video/video_caption/PDVC/visualization/visualization.py", line 154, in
d = json.load(open(opt.dvc_file))['results']
FileNotFoundError: [Errno 2] No such file or directory: 'visualization/output/generated_captions/dvc_results.json'
主要是这个文件'save/anet_tsp_pdvc/info.json'实在是找不到啊,我觉得应该是被生成的,是我makesh时没有弄对吗