OFA-Sys / Chinese-CLIP

Chinese version of CLIP which achieves Chinese cross-modal retrieval and representation generation.
MIT License
4k stars 418 forks source link

图到文检索Recall计算出现The evaluation failed: image_ids #292

Closed IF-chan closed 3 months ago

IF-chan commented 3 months ago

刚发现命令中少打了_tr(原本调用的是evaluation_tr.py)

运行bash run_scripts/evaluation_tr.sh 错误如下: Read standard from /mnt/e/Chinese-CLIP-Database/datasets/MUGE/valid_texts.tr.jsonl Read user submit file from /mnt/e/Chinese-CLIP-Database/datasets/MUGE/valid_tr_predictions.jsonl The evaluation failed: image_ids

evaluation_tr.sh内容: python3 -u cn_clip/eval/evaluation.py /mnt/e/Chinese-CLIP-Database/datasets/MUGE/valid_texts.tr.jsonl /mnt/e/Chinese-CLIP-Database/datasets/MUGE/valid_tr_predictions.jsonl output_tr.json

valid_texts.tr.jsonl内容: image

valid_tr_predictions.jsonl内容: image