This repository contains the unofficial implementation of SignBERT+: Hand-model-aware Self-supervised Pre-training for Sign Language Understanding.
The contents of submodules are not cloned by default. Once cloned, execute the following:
git submodule init
git submodule update
Or clone using the flag:
git clone --recurse-submodules <REPO_URL>
- Go to the MANO website
- Create an account
- Download Models & Code
- Extract the
*.zip
inside thesignbert/model/thirdparty/mano_assets
folder - Folder structure should look like this:
mano_assets/
├── info.txt
├── __init__.py
├── LICENSE.txt
├── models
│ ├── info.txt
│ ├── LICENSE.txt
│ ├── MANO_LEFT.pkl
│ ├── MANO_RIGHT.pkl
│ ├── SMPLH_female.pkl
│ └── SMPLH_male.pkl
└── webuser
└── ...
conda env create -f environment.yml
cd signbert/model/thirdparty/manotorch
pip install .
python train.py --config configs/pretrain.yml
python finetune.py --config finetune/configs/ISLR_MSASL.yml
--ckpt checkpoints/pretrain/ckpts/<CKPT_NAME>.ckpt
tensorboard --logdir <LOGS_DPATH>
First, install pytorch3d
cd visualization
python create_visualization.py
If you find this code useful for your research, please consider citing:
@article{hu2023signbert+,
title={SignBERT+: Hand-model-aware Self-supervised Pre-training for Sign Language Understanding},
author={Hu, Hezhen and Zhao, Weichao and Zhou, Wengang and Li, Houqiang},
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
year={2023},
publisher={IEEE}
}