Skip to content

RongchangLi/DEN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEN

The official implementation of the paper 'Dynamic Information Enhancement for Video Classification'.

Data preparation

We recommend to TSM for dataset preparation. Noting that the data and file list paths in dataset_config.py should be correctly modified.

Training & Testing

using this command to train:

python main.py something RGB --arch resnet50 --num_segments 8 --gd 20 --lr 0.005 --lr_steps 30 45  --epochs 50 --batch-size 32 -j 8 --dropout 0.5 --consensus_type=avg --eval-freq=1 --shift --shift_div=4 --shift_place=blockres --comu_type motion_replace_A --npb --add_se

using this command to test:

python test_models.py something --weights=your_checkpoint --test_segments=8 --test_crops=1 --batch_size=96 --comu_type motion_replace_A --add_se  -j 8 

if adopt 2 clips × 3 crops with full resoluion (256×256) to ensemble performance, using this commands:

python test_models.py something --weights=your_checkpoint --test_segments=8 --test_crops=3 --batch_size=96 --comu_type motion_replace_A --add_se  -j 8 --twice_sample --full_res

Results

The main results on Something-Something V1 are as follows:

Method resolution n-frames top-1
DEN-Res50 224 8×1clips×1crops 47.7%
DEN-Res50 256 8×1clips×1crops 48.4%
DEN-Res50 256 8×3clips×3crops 50.1%

The main results on Diving-48 are as follows:

Method resolution n-frames top-1
DEN-Res50 224 16×2clips×1crops 40.46%

About

The official implementation of the paper Dynamic Information Enhancement for Video Classification.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages