XuHuangbiao / T2CR

Code for T²CR used for validation
MIT License
1 stars 0 forks source link

Two-path Target-aware Contrastive Regression for Action Quality Assessment

This repository contains the PyTorch implementation for Two-path Target-aware Contrastive Regression.

Code for Two-path Target-aware Contrastive Regression (T²CR)

Requirement

Data Preperation

Pretrain Model

The Kinetics pretrained I3D downloaded from the reposity kinetics_i3d_pytorch

model_rgb.pth

Experimental Setting

MTL_T2CR.yaml
FineDiving_T2CR.yaml
Seven_T2CR.yaml

Training and Evaluation

# train a model
bash ./scripts/train.sh 0,1 MTL T²CR

# resume the training process
bash ./scripts/train.sh 0,1 MTL T²CR --resume

# test a trained model
bash ./scripts/test.sh 0,1 MTL T²CR ./experiments/T2CR/MTL/T²CR/last.pth
# last.pth is obtained by train.sh and saved at "experiments/T2CR/MTL/T²CR/"

More descriptions coming soon!