readme.md

November 7, 2021 · View on GitHub

1 Introduction

This project reproduces RTD based on paddlepaddle framework. RTD is a simple and end-to-end learnable framework (RTD-Net) for direct action proposal generation, by re-purposing a Transformer-alike architecture. Thanks to the parallel decoding of multiple proposals with explicit context modeling, our RTD-Net outperforms the previous state-of-the-art methods in temporal action proposal generation task on THUMOS14 and also yields a superior performance for action detection on this dataset. In addition, free of NMS post-processing, our detection pipeline is more efficient than previous methods.

Paper

RTD-Net (ICCV 2021)

"Relaxed Transformer Decoders for Direct Action Proposal Generation", accepted in ICCV 2021.

Reference project

https://github.com/MCG-NJU/RTD-Action

2 Accuracy

DatasetAR@50AR@100AR@200AR@500checkpoint
THUMOS14 (eval every 1 epoch, PyTorch)41.5249.3356.4162.91link(PyTorch)
THUMOS14 (eval every 2 epochs, PyTorch)40.6648.5855.2161.90./log/torch_best_sum_ar.txt
THUMOS14 (eval every 2 epochs, Paddle)40.0448.1554.7961.55./log/paddle_beast_sum_ar.txt
THUMOS14 (eval every 1 epoch, PyTorch)40.1348.7355.9862.09./log/torch_best_sum_ar_eval1.txt
THUMOS14 (eval every 1 epoch, Paddle)40.2348.6655.2462.22./log/paddle_beast_sum_ar_eval1.txt

3 Dataset

To reproduce the results in THUMOS14 without further changes:

  1. Download the data from GoogleDrive.

4 Environment

  • Hardware: GPU
  • Framework:
    • PaddlePaddle >= 2.2.0.rc0 !!!(低版本会有问题)

5 Quick start

step1: clone

gi t clone git@github.com:rainyBJ/RTD_RePro.git

step2: prepare dataset

  1. according to 3
  2. Use dataset_converter.py converting it to the paddle form
  3. put them in ./data_paddle/

step3:download chkpt

  1. Download checkpoint_best_sum_ar.pdparams & checkpoint_initial.pdparams from link (Paddle)
  2. put them in the ./

step4:test(from best chkpt)

sh val.sh 

step5:train(from scratch)

sh run.sh

6 AI Studio

AI Studio 项目(2.2.0rc0)

dataset

unzip ~/data/data112050/归档.zip -d ~/work/data_paddle/

chkpt

cp ~/data/data114662/* ~/work

eval

sh val.sh

train

sh train.sh


see logs in folder ./log/xxx.log