Git Product home page Git Product logo

slgtformer's Introduction

SLGTformer: An Attention Based Approach to Sign Language Recognition

If you find this code useful for your research, consider citing:

@misc{https://doi.org/10.48550/arxiv.2212.10746,
  doi = {10.48550/ARXIV.2212.10746},
  url = {https://arxiv.org/abs/2212.10746},
  author = {Song, Neil},
  keywords = {Computer Vision and Pattern Recognition (cs.CV), FOS: Computer and information sciences, FOS: Computer and information sciences},
  title = {SLGTformer: An Attention-Based Approach to Sign Language Recognition},
  publisher = {arXiv},
  year = {2022},
  copyright = {Creative Commons Attribution 4.0 International}
}

Environment Setup

Simply run conda env create -f environment.yml.

Data preparation

Please download and use the preprocessed skeleton data for WLASL by Skeleton Aware Multi-modal Sign Language Recognition. Please be sure to follow their rules and agreements when using the preprocessed data. ./download.sh

Pretrained models

Pretrained models are provided here.

Usage

Train WLASL:

./train.sh

Test:

./test.sh

Acknowledgements

SAM-SLR-v2

This code is based on SAM-SLR-v2. Huge thank you to the authors for open sourcing their code.

IRVL

Thank you to @yuxng for his advice and guidance throughout this project. Shout-out to his lab @IRVL for the RTX A5000s and all the fun conversations while models were training.

slgtformer's People

Contributors

neilsong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

slgtformer's Issues

pretrained model error

Hi,

Thanks for your work. I am trying to use the pretrained model but I have following error :

Can not find these weights:
layers.0.spatial_attn1.attention_block.attn.qkv.weight
layers.1.spatial_attn1.attention_block.attn.qkv.weight

It seems that the actual model and pretrained weights do not correspond.

Bests
ZP

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.