This repo collects all the code that is used to annotate PVSG dataset.
The PVSG Annotation Pipeline |
Panoptic Video Scene Graph Generation
Jingkang Yang,
Wenxuan Peng,
Xiangtai Li,
Zujin Guo,
Liangyu Chen,
Bo Li,
Zheng Ma,
Kaiyang Zhou,
Wayne Zhang,
Chen Change Loy,
Ziwei Liu,
S-Lab, Nanyang Technological University & SenseTime Research
1. Create a New Conda Environment:
conda create -n pvsg python=3.8
conda activate myenv
conda install numpy scipy pandas matplotlib ipython jupyter scikit-learn
conda install -c conda-forge opencv
pip install requests beautifulsoup4 lxml
Please check packages_list.txt
to see all the packages required.
2. Download Annotations From SuperAnnotate:
curl -o zip_files/Task_0205_v18.zip https://files.superannotate.com/xxxxxx
3. Run scripts:
sh run_vidor.sh
or
sh run_ego.sh
Once successful running, your data
folder would be like:
├── aot-benchmark
├── data
│ ├── data_Ego4D_v20_1
│ │ ├── caption_masks
│ │ ├── final_masks
│ │ ├── images
│ │ ├── masks
│ │ ├── sa_Ego4D_v20_1
│ │ ├── tag_videos_Ego4D_v20_1
│ │ ├── class_info.json
│ │ ├── frames.json
│ │ └── results.pickle
│ ├── ...
If you find our repository useful for your research, please consider citing our paper:
@inproceedings{yang2023pvsg,
author = {Yang, Jingkang and Peng, Wenxuan and Li, Xiangtai and Guo, Zujin and Chen, Liangyu and Li, Bo and Ma, Zheng and Zhou, Kaiyang and Zhang, Wayne and Loy, Chen Change and Liu, Ziwei},
title = {Panoptic Video Scene Graph Generation},
booktitle = {CVPR},
year = {2023},
}