Skip to content

dk-kim/DFWSGAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detector-Free Weakly Supervised Group Activity Recognition

Overview

This work introduces a detector-free approach for weakly supervised group activity recognition.

Citation

If you find our code or paper useful, please consider citing our paper:

@InProceedings{Kim_2022_CVPR,
author    = {Kim, Dongkeun and Lee, Jinsung and Cho, Minsu and Kwak, Suha},
title     = {Detector-Free Weakly Supervised Group Activity Recognition},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month     = {June},
year      = {2022},
pages     = {20083-20093}
}

Requirements

  • Ubuntu 16.04
  • Python 3.8.5
  • CUDA 11.0
  • PyTorch 1.7.1

Conda environment installation

conda env create --file environment.yml

conda activate gar

Install additional package

sh scripts/setup.sh

Download dataset

Download trained weights

sh scripts/download_checkpoints.sh

Run test scripts

  • Volleyball dataset (Merged 6 class classification)

      sh scripts/test_volleyball_merged.sh
    
  • Volleyball dataset (Original 8 class classification)

      sh scripts/test_volleyball.sh
    
  • NBA dataset

      sh scripts/test_nba.sh
    

Run train scripts

  • Volleyball dataset (Merged 6 class classification)

      sh scripts/train_volleyball_merged.sh
    
  • Volleyball dataset (Original 8 class classification)

      sh scripts/train_volleyball.sh
    
  • NBA dataset

      sh scripts/train_nba.sh
    

File structure

│── Dataset/
│ │── volleyball/
│ │ └── videos/
│ │── NBA_dataset/
│ │ └── videos/
│ │ └── train_video_ids
│ │ └── test_video_ids
│── checkpoints/
│── scripts/
│── dataloader/
│── models/
│── util/
train.py
test.py
README.md
environment.yml

Acknowledgement

This work was supported by the NRF grant and the IITP grant funded by Ministry of Science and ICT, Korea (NRF-2021R1A2C3012728, NRF-2018R1A5A1060031, IITP-2020-0-00842, IITP-2021-0-00537, No. 2019-0-01906 Artificial Intelligence Graduate School Program-POSTECH).

About

[CVPR 2022] Official PyTorch implementation of "Detector-Free Weakly Supervised Group Activity Recognition"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published