Git Product home page Git Product logo

that's Introduction

Two-Stream Convolution Augmented Transformer for Human Activity Recognition

This repository contains the Pytorch implementation of the THAT methods in the following paper:

Two-Stream Convolution Augmented Transformer for Human Activity Recognition

Bing Li, Wei Cui, Wei Wang, Le Zhang, Zhenghua Chen and Min Wu

AAAI, 2021.

As illustrated in the following figure, THAT utilizes a two-stream structure to capture both time-over-channel and channel-over-time features, and use the multi-scale convolution augmented transformer to capture range-based patterns.

Requirements

  • [python 3.7](We recommend to use Anaconda, since many python libs like numpy and sklearn are needed in our code.)
  • PyTorch 1.4.0 (we run the code under version 1.4.0, maybe versions >=1.0 also work.)

Dataset Downloads

Please Download the data and pre-process it as done in our paper.

Training Example

CUDA_VISIBLE_DEVICES=0 python transformer-csi.py

Notes

You may tune the hyperparameters to get further improved results.

Citations

Please cite the following papers if you use this repository in your research work:

 @inproceedings{bing2021that,
  title={Two-Stream Convolution Augmented Transformer for Human Activity Recognition},
  author={Bing Li, Wei Cui, Wei Wang, Le Zhang, Zhenghua Chen and Min Wu},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={},
  number={},
  year={2021}
}

Contact Bing Li โœ‰๏ธ for questions, comments and reporting bugs.

that's People

Contributors

zhangleuestc avatar windofshadow 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.