[Project Page] [Paper Link] [Dataset]
This is the codebase for our paper TimeLens-XL, which has been accepted by ECCV2024. In this paper, we propose a lightweight netowrk for Event-VFI which is able to interpoalte for large motions in realtime at 720p resolution. We provide pretrained weights, code for evaluation for both our TLXNet, TLXNet+, and state-of-the-art methods.
Please download dependency packages by
pip install -r requirements.txt
Download supported datasets and change path files in params/Paths
accordingly. Currently we support:
- Adobe dataset;
- GOPRO dataset;
- BSERGB dataset;
- HQEVFI dataset [Google Drive];
Please notice that 1 and 2 are synthetic datasets. We first interpolate Adobe and GOPRO dataset to 1920 FPS (x8) with RIFE, and then synthesis events based on v2e.
Compared with original v2e, we made several changes on the simulator:
- We remove image resize to make the RGB and event stream the same size, as we do not focus only on davis camera with fixed resolution;
- We removed the random disturbance on time as we already have temporal dense RGB frames.
Please re-generate the synthetic dataset according to v2e simulator or we will release our simulator and synthetic datasets shortly.
on HQ-EVFI dataset: TLXNet+
on BSERGB dataset: TLXNet+ x4 interpolation
python run_network.py --param_name traintest_RC_smallmix_lpips --model_name Expv8_large --model_pretrained ./weights/Expv8_large_HQEVFI.pt --skip_training
Just remove --skip_training of evaluation code.