This repository contains the official PyTorch implementation of the paper: “EvLSD-IED: Event-Based Line Segment Detection with Image-to-Event Distillation”
We have trained and tested our models on CUDA 11.1, Python 3.8.0, torch 1.10.1.
For ease of reproducibility, you are suggested to install miniconda (or anaconda if you prefer) before following executing the following commands.
git clone https://github.com/Qiuben/EvLSD-IED
cd EvLSD-IED
pip install -r requirements.txt
You can download the pretrained model on E-wirferame from OneDrive.
You can download the synthetic dataset E-wireframe as well as the real-scene datset RE-LSD from OneDrive. You can directly download the EST representation or download the raw event data and convert it to frame representations using the event2frame.py
python train.py -m image -d E-wireframe
python train_IED.py -m event -d E-wireframe