XuuuXYZ/EgoMask

Dataset

Structure

2

17 commits

2 linked in READMEs

updated Aug 4, 2025

See the code

README

Structure

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

Dataset Prepare

Download Annotations

We have provided the annotations in Hugging Face.

hf download XuuuXYZ/EgoMask --repo-type dataset # --local-dir [PATH_TO_EGOMASK_DATA]

Process JPEGImages

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

🚩 Citation

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},
}

XuuuXYZ/EgoMask

Dataset

Structure

2

17 commits

2 linked in READMEs

updated Aug 4, 2025

See the code

README

Structure

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

Dataset Prepare

Download Annotations

We have provided the annotations in Hugging Face.

hf download XuuuXYZ/EgoMask --repo-type dataset # --local-dir [PATH_TO_EGOMASK_DATA]

Process JPEGImages

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

🚩 Citation

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},
}