/temporal-ssl

Video Representation Learning by Recognizing Temporal Transformations. In ECCV, 2020.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Video Representation Learning by Recognizing Temporal Transformations [Project Page]

Simon Jenni, Givi Meishvili, and Paolo Favaro.
In ECCV, 2020.

Model

This repository contains code for self-supervised pre-training on UCF101 and supervised transfer learning on the UCF101 and HMDB51 action recognition benchmarks.

Requirements

The code is based on Python 3.7 and tensorflow 1.15.

How to use it

1. Setup

python init_datasets.py

2. Training and evaluation

  • To train and evaluate a model using the C3D architecture, execute train_test_C3D.py. An example usage could look like this:
python train_test_C3D.py --tag='test' --num_gpus=2