Loading...
Loading...
Compare original and translation side by side
vlm_bcqgap_analysis vlm_bcq \
predictions_json=/path/to/results.json \
results_dir=/path/to/output/gapsvideos_dirvideo_idgap_analysis vlm_bcq \
predictions_json=/path/to/results.json \
results_dir=/path/to/output/gaps \
videos_dir=/path/to/videos/rootkpi_gaps_report.txtkpi_gaps.jsonlvlm_bcqgap_analysis vlm_bcq \
predictions_json=/path/to/results.json \
results_dir=/path/to/output/gapsvideo_idvideos_dirgap_analysis vlm_bcq \
predictions_json=/path/to/results.json \
results_dir=/path/to/output/gaps \
videos_dir=/path/to/videos/rootkpi_gaps_report.txtkpi_gaps.jsonlvideo_idresponsegtresponsegt'yes''no'video_idvideo_id[
{
"video_id": "/path/to/video.mp4",
"response": "Yes, there is a collision.",
"gt": "B. No",
"question": "Is there a collision?"
}
]video_idresponsegtresponsegt'yes''no'video_idvideo_id[
{
"video_id": "/path/to/video.mp4",
"response": "Yes, there is a collision.",
"gt": "B. No",
"question": "Is there a collision?"
}
]video_iderror_typeFPFNquestionground_truthresponsevideo_iderror_typeFPFNquestionground_truthresponse| Parameter | Required | Description |
|---|---|---|
| predictions_json | Yes | Path to predictions JSON file |
| results_dir | Yes | Output directory; created if it does not exist |
| videos_dir | No | Base directory for resolving relative |
| 参数 | 必填 | 描述 |
|---|---|---|
| predictions_json | 是 | 预测结果JSON文件的路径 |
| results_dir | 是 | 输出目录;若不存在则自动创建 |
| videos_dir | 否 | 用于解析相对 |
| Error | Cause | Fix |
|---|---|---|
| | Check the path |
| Predictions file is not a list | Wrap predictions in |
| A prediction item is missing a required field | Inspect and fix the predictions JSON |
| Samples silently skipped | | Check logs for warnings; inspect those samples |
| 错误 | 原因 | 修复方法 |
|---|---|---|
| | 检查路径是否正确 |
| 预测结果文件不是数组格式 | 将预测结果包裹在 |
| 某个预测结果项缺少必填字段 | 检查并修复预测结果JSON文件 |
| 样本被静默跳过 | | 查看日志中的警告信息;检查相关样本 |