To ensure a smooth experience running the scripts, set up a dedicated conda
environment by executing the following commands in your terminal:
conda create -n repurpose python=3.9
conda activate repurpose
pip install -r requirements.txt
The train/validation/test splits are provided in the /data
directory. Follow these steps for data preparation:
- Download the source videos using yt-dlp.
- Extract the required features as mentioned in our paper using these repositories:
To begin training the model, use the command below:
python main.py --config_path configs/Repurpose.yaml
For model evaluation, execute the following command:
python inference.py --config_path configs/Repurpose.yaml --resume your_ckpt_path
Replace your_ckpt_path
with the actual path to your checkpoint file.
We would like to extend our gratitude to the authors and contributors of the following repositories, which have been instrumental in the development of our implementation: