This is the source code of Token-based Spatiotemporal Representation of the Events.
Python ≥ 3.7
CUDA 11.8
pip install -r requirements.txt
python setup.py develop
Require additional install sparseconvnet, pytorch3d and flow_vis_torch
See datasets.md
python basicsr/train.py -opt options/train/[DATASETS]/XXX.yml
python basicsr/test.py -opt options/train/[DATASETS]/XXX.yml --pretrained experiments/[YML_NAME]/models/net_g_latest.pth