This repository contains the TimeLens
code used in Swift-Eye. For detailed information, you can refer to the original paper: Time Lens: Event-based Video Frame Interpolation.
To set up the environment, please refer to rpg_timelens and the conda-requirements.txt
available in this repository.
Download the fine-tuned model weights from model weights. After downloading, place the weights inside the refined_model
directory.
change the line in tests/run_attention.py from sys.path.append('absolute path of timelens') to sys.path.append('/Path/to/rpg_timelens')
To interpolate frames, execute the following:
python tests/run_attention.py