Inference E.T. Chat on Charades-STA

January 17, 2025 ยท View on GitHub

The performance of E.T. Chat on full Charades-STA test set is as follows.

ModelR1@0.3R1@0.5R1@0.7mIoU
E.T. Chat65.745.920.042.3

๐Ÿ“ฆ Data Preparation

Download Charades-STA dataset and organize it as follows.

ETBench
โ””โ”€ data
   โ””โ”€ charades
      โ”œโ”€ videos
      โ”‚  โ”œโ”€ 0A8CF.mp4
      โ”‚  โ”œโ”€ 0A8ZT.mp4
      โ”‚  โ””โ”€ ...
      โ”œโ”€ charades_sta_train.txt
      โ””โ”€ charades_sta_test.txt

๐Ÿš€ Run Inference

Run the following command to inference E.T. Chat on Charades-STA dataset.

python etchat/eval/infer_charades.py \
    --anno_path data/charades/charades_sta_test.txt \
    --data_path data/charades/videos \
    --pred_path charades_sta \
    --model_path <path-to-model>

The model outputs would be saved in the charades_sta folder.

๐Ÿ”ฎ Compute Metrics

Run the following command to compute metrics.

python etchat/eval/eval_grounding.py charades_sta