Keyne Oei, Amr Gomaa, Anna Maria Feit, João Belo
Pytorch code for "Self-Supervised Contrastive Learning for Videos using Differentiable Local Alignment" (https://arxiv.org/abs/2409.04607).
To setup the env,
git clone https://github.com/keynekassapa13/LAC.git
cd LAC
conda env create -f env.yml
conda activate lac
Install pip packages
pip install --upgrade pip
pip install -r requirements.txt
. ├── datasets │ └── pouring │ └── train.pkl │ └── val.pkl │ └── videos │ └── penn_action │ └── train.pkl │ └── val.pkl │ └── videos ├── LAC │ └── config │ └── pouring │ └── pennaction │ └── dataset │ └── ... │ └── evaluation │ └── ... │ └── model │ └── ... │ └── utils │ └── ... │ └── train.py │ └── ...
cd LAC
python train.py --config='config/pouring/lac.json'
tensorboard --logdir='saved/logs' --port=6008
If you found our paper/code useful in your research, please consider citing our paper:
@misc{oei2024lac,
title={Self-Supervised Contrastive Learning for Videos using Differentiable Local Alignment},
author={Keyne Oei and Amr Gomaa and Anna Maria Feit and João Belo},
year={2024},
eprint={2409.04607},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2409.04607},
}