Code Monkey home page Code Monkey logo

humanposetracking_snn's Introduction

HumanPoseTracking_SNN

Event-based Human Pose Tracking using Spiking Spatiotemporal Transformer

Conda Environment Setup

conda create --name snn python=3.9

# cuda 10.2, latest GPU model such as A100 may not support cuda 10.2
conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=10.2 -c pytorch
pip install cupy-cuda102

# cuda 11.6
conda install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c nvidia
pip install cupy-cuda11x

# install SpikingJelly, git checkout version in Nov 2022
cd ~
git clone https://github.com/fangwei123456/spikingjelly.git
cd spikingjelly
git checkout df8470b2b339aa0c05aa4885d615956a95a245b2
python setup.py install


# install opendr, you can use other tools for rendering of SMPL shape such as pytorch3d or pyrender
sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
sudo apt-get install libosmesa6-dev
pip install opendr

# other dependencies
pip install opencv-python
pip install joblib
pip install plyfile

model and test

Pretrained models can be downloaded from Google Drive. Put the pretrained models in ./data/pretrained_model

cd model_snn
bash run_test.sh

Test examples (model of 8 and 64 time steps)

image image

Dataset

We will release our dataset upon paper acceptance. Below are some samples from the dataset.

image image image image

Citation

@article{zou2023event,
  title={Event-based Human Pose Tracking by Spiking Spatiotemporal Transformer},
  author={Zou, Shihao and Mu, Yuxuan and Zuo, Xinxin and Wang, Sen and Cheng, Li},
  journal={arXiv preprint arXiv:2303.09681},
  year={2023}
}

humanposetracking_snn's People

Contributors

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