The structure of EgoMask (Benchmark) is as follows:
ββ egomask
ββ JPEGImages
β ββ refego
β ββ egotracks
ββ annotations
ββ subset
β ββ long
β β ββ meta_expressions.json
β β ββ meta.json
β ββ medium
β β ββ meta_expressions.json
β ββ short
β ββ meta_expressions.json
β ββ meta.json
ββ meta_expressions.json
ββ meta.json
The structure of EgoMask-Train (Training dataset) is as follows:
ββ egomask-train
ββ meta_expressions
β ββ train
β ββ meta_expressions.json
ββ train
ββ JPEGImages
ββ mask_dict.json
ββ meta.json
We have provided the annotations in Hugging Face.
hf download XuuuXYZ/EgoMask --repo-type dataset # --local-dir [PATH_TO_EGOMASK_DATA]
Please follow Start here for instructions on how to access Ego4D dataset.
Then use the following scripts from our repo to process images.
Note that our aws profile name is set to ego4d.
For EgoMask (Benchmark)
bash preprocess/process_refego.sh
bash preprocess/process_egotracks_for_benchmark.sh
For EgoMask-Train (Training data)
bash preprocess/process_egotracks_fro_training.sh
If you find our EgoMask useful for your research, please consider giving this repository a star and citing our paper as follows:
@article{liang2025finegrained,
title={Fine-grained Spatiotemporal Grounding on Egocentric Videos},
author={Shuo Liang and Yiwu Zhong and Zi-Yuan Hu and Yeyao Tao and Liwei Wang},
journal={arxiv preprint arXiv:2508.00518},
year={2025},
}
The structure of EgoMask (Benchmark) is as follows:
ββ egomask
ββ JPEGImages
β ββ refego
β ββ egotracks
ββ annotations
ββ subset
β ββ long
β β ββ meta_expressions.json
β β ββ meta.json
β ββ medium
β β ββ meta_expressions.json
β ββ short
β ββ meta_expressions.json
β ββ meta.json
ββ meta_expressions.json
ββ meta.json
The structure of EgoMask-Train (Training dataset) is as follows:
ββ egomask-train
ββ meta_expressions
β ββ train
β ββ meta_expressions.json
ββ train
ββ JPEGImages
ββ mask_dict.json
ββ meta.json
We have provided the annotations in Hugging Face.
hf download XuuuXYZ/EgoMask --repo-type dataset # --local-dir [PATH_TO_EGOMASK_DATA]
Please follow Start here for instructions on how to access Ego4D dataset.
Then use the following scripts from our repo to process images.
Note that our aws profile name is set to ego4d.
For EgoMask (Benchmark)
bash preprocess/process_refego.sh
bash preprocess/process_egotracks_for_benchmark.sh
For EgoMask-Train (Training data)
bash preprocess/process_egotracks_fro_training.sh
If you find our EgoMask useful for your research, please consider giving this repository a star and citing our paper as follows:
@article{liang2025finegrained,
title={Fine-grained Spatiotemporal Grounding on Egocentric Videos},
author={Shuo Liang and Yiwu Zhong and Zi-Yuan Hu and Yeyao Tao and Liwei Wang},
journal={arxiv preprint arXiv:2508.00518},
year={2025},
}