This repository contains the PyTorch implementation for Two-path Target-aware Contrastive Regression.
pip install git+https://github.com/hassony2/torch_videovision
mkdir AQA-Seven & cd AQA-Seven
wget http://rtis.oit.unlv.edu/datasets/AQA-7.zip
unzip AQA-7.zip
The Kinetics pretrained I3D downloaded from the reposity kinetics_i3d_pytorch
model_rgb.pth
MTL_T2CR.yaml
FineDiving_T2CR.yaml
Seven_T2CR.yaml
# 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/"