Skip to content
/ SCOAD Public

SCOAD: Single-frame Click Supervision for Online Action Detection, ACCV 2022

Notifications You must be signed in to change notification settings

zstarN70/SCOAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCOAD: Single-frame Click Supervision for Online Action Detection

This repository is the official implementation of SCOAD. In this work, we propose a weakly supervised online action detection method with click labels. 在这里插入图片描述


Environment

To install requirements:

conda env create -n env_name -f environment.yaml

Before running the code, please activate this conda environment.

Data Preparation

a. Download pre-extracted features from here.
b. The manual annotation of the background from here.
c. The manual annotation of the action from here.
d. We process the manual annotations into pickle files:

python scripts/thumos_click_deal_action.py
python scripts/thumos_click_deal_back.py

Please ensure the data structure is as below

data
└── Thumos14
    ├── signal_anno
    │   ├── human
    │   │   ├── action
    │   │   │   ├── THUMOS1.txt
    │   │   │   └── ...
    │   │   └── back 
    │   │       └── THUMOS14_Background-Click-Annotation_A1.txt
    │   └── seed
    │       ├── random_seed_action
    │       └── random_seed_back
    ├── feature
    │   └── Thumos14reduced-I3D-JOINTFeatures.npy
    └── Thumos14reduced-Annotations
        ├── Ambiguous_test.txt
        ├── classlist.npy
        ├── duration.npy
        └── ...

Train

a. Config Adjust configurations according to your machine.

./misc/config.py

b. Train

python main.py

Inference

a. You can download pre-trained models from here, and put the weight file in the folder checkpoint.

python eval.py --pretrained_ckpt MODEL_NAME

Acknowledgement

We referenced WOAD for the code.

About

SCOAD: Single-frame Click Supervision for Online Action Detection, ACCV 2022

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages