Spaces:
Build error
by Matyáš Boháček and Marek Hrúz, University of West Bohemia
Should you have any questions or inquiries, feel free to contact us here.
Repository accompanying the Sign Pose-based Transformer for Word-level Sign Language Recognition paper, where we present a novel architecture for word-level sign language recognition based on the Transformer model. We designed our solution with low computational cost in mind, since we see egreat potential in the usage of such recognition system on hand-held devices. We introduce multiple original augmentation techniques tailored for the task of sign language recognition and propose a unique normalization scheme based on sign language linguistics.
Get Started
First, make sure to install all necessary dependencies using:
pip install -r requirements.txt
To train the model, simply specify the hyperparameters and run the following:
python -m train
--experiment_name [str; name of the experiment to name the output logs and plots]
--epochs [int; number of epochs]
--lr [float; learning rate]
--training_set_path [str; path to the csv file with training set's skeletal data]
--validation_set_path [str; path to the csv file with validation set's skeletal data]
--testing_set_path [str; path to the csv file with testing set's skeletal data]
If either the validation or testing sets' paths are left empty, these corresponding metrics will not be calculated. We also provide out-of-the box parameter to split the validation set as a desired split of the training set while preserving the label distribution for datasets without author-specified splits. These and many other specific hyperparameters with their descriptions can be found in the train.py file. All of them are provided a default value we found to be working well in our experiments.
Data
As SPOTER works on top of sequences of signers' skeletal data extracted from videos, we wanted to eliminate the computational demands of such annotation for each training run by pre-collecting this. For this reason and reproducibility, we are open-sourcing this data for WLASL100 and LSA64 datasets along with the repository. You can find the data here.
License
The code is published under the Apache License 2.0 which allows for both academic and commercial use if relevant License and copyright notice is included, our work is cited and all changes are stated.
The accompanying skeletal data of the WLASL and LSA64 datasets used for experiments are, however, shared under the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license allowing only for non-commercial usage.
Citation
If you find our work relevant, build upon it or compare your approaches with it, please cite our work as stated below:
@InProceedings{Bohacek_2022_WACV,
author = {Boh\'a\v{c}ek, Maty\'a\v{s} and Hr\'uz, Marek},
title = {Sign Pose-Based Transformer for Word-Level Sign Language Recognition},
booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV) Workshops},
month = {January},
year = {2022},
pages = {182-191}
}