GitHub - WISION-Lab/event-nn-pytorch: Event neural networks in PyTorch (paper: https://arxiv.org/abs/2112.00891) (original) (raw)

Conda Environment

To create the event-nn environment, run:

conda env create -f conda/environment.yml

To enable GPU support, instead run:

conda env create -f conda/environment_gpu.yml

Code Style

Format all Python using Black. Use a line limit of 88 characters (the default). To format a file, use the command:

black <FILE>

Format all C++ using Clang-Format. Use the default settings. To format a file, use the command:

clang-format -i <FILE>