Hierarchical Neural Memory Network

August 4, 2023 · View on GitHub

This repo is a PyTorch implementation of HMNet proposed in our paper: Hierarchical Neural Network for Low Latency Event Processing.

Results and models

The pre-trained weights are released under the Creative Commons BY-SA 4.0 License.

DSEC-Semantic (Semantic Segmentation)

ModelsizemIoU [%]latency V100 [ms]latency V100 x 3 [ms]weights
HMNet-B1640 x 44051.27.0-github
HMNet-L1640 x 44055.010.5-github
HMNet-B3640 x 44053.99.78.0github
HMNet-L3640 x 44057.113.911.9github

GEN1 (Object Detection)

ModelsizemAP [%]latency V100 [ms]latency V100 x 3 [ms]weights
HMNet-B1304 x 24045.54.6-github
HMNet-L1304 x 24047.05.6-github
HMNet-B3304 x 24045.27.05.9github
HMNet-L3304 x 24047.17.97.0github

MVSEC day1 (Monocular Depth Estimation)

ModelsizeAbsRelRMSRMSEloglatency V100 [ms]latency V100 x 3 [ms]weights
HMNet-B1346 x 2600.3859.0880.5092.4-github
HMNet-L1346 x 2600.3108.3830.3934.1-github
HMNet-B3346 x 2600.2707.1010.3325.04.1github
HMNet-L3346 x 2600.2546.8900.3196.95.4github
HMNet-B3 w/ RGB346 x 2600.2526.9720.3185.44.1github
HMNet-L3 w/ RGB346 x 2600.2306.9220.3107.15.4github

Requirements

  • PyTorch >= 1.12.1
  • torch_scatter
  • timm
  • hdf5plugin

Installation

Create a new conda environment

conda create -n hmnet python=3.7
conda activate hmnet

Install dependencies

pip install -r requirements.txt
conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch
pip install torch-scatter -f https://data.pyg.org/whl/torch-1.12.1+cu113.html
pip install timm

Experiments

Please see the instructions on each task page.

License

The majority of this project is licensed under BSD 3-clause License. However, some code (psee_evaluator.py, coco_eval.py, det_head_yolox.py) is available under the Apache 2.0 license. The pre-trained weights are released under the Creative Commons BY-SA 4.0 License.

Acknowledgments

This work is based on results obtained from a project commissioned by the New Energy and Industrial Technology Development Organization (NEDO).