Coder Social home page Coder Social logo

tkyen1110 / hmnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hamarh/hmnet_pth

0.0 0.0 0.0 481 KB

PyTorch implementation of Hierarchical Neural Memory Network

License: BSD 3-Clause "New" or "Revised" License

Shell 1.33% Python 41.91% Jupyter Notebook 56.77%

hmnet's Introduction

Hierarchical Neural Memory Network

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)

Model size mIoU [%] latency V100 [ms] latency V100 x 3 [ms] weights
HMNet-B1 640 x 440 51.2 7.0 - github
HMNet-L1 640 x 440 55.0 10.5 - github
HMNet-B3 640 x 440 53.9 9.7 8.0 github
HMNet-L3 640 x 440 57.1 13.9 11.9 github

GEN1 (Object Detection)

Model size mAP [%] latency V100 [ms] latency V100 x 3 [ms] weights
HMNet-B1 304 x 240 45.5 4.6 - github
HMNet-L1 304 x 240 47.0 5.6 - github
HMNet-B3 304 x 240 45.2 7.0 5.9 github
HMNet-L3 304 x 240 47.1 7.9 7.0 github

MVSEC day1 (Monocular Depth Estimation)

Model size AbsRel RMS RMSElog latency V100 [ms] latency V100 x 3 [ms] weights
HMNet-B1 346 x 260 0.385 9.088 0.509 2.4 - github
HMNet-L1 346 x 260 0.310 8.383 0.393 4.1 - github
HMNet-B3 346 x 260 0.270 7.101 0.332 5.0 4.1 github
HMNet-L3 346 x 260 0.254 6.890 0.319 6.9 5.4 github
HMNet-B3 w/ RGB 346 x 260 0.252 6.972 0.318 5.4 4.1 github
HMNet-L3 w/ RGB 346 x 260 0.230 6.922 0.310 7.1 5.4 github

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).

hmnet's People

Contributors

tkyen1110 avatar hamarh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.