Skip to content
didwoahPublic

About

Subject-Aware Contrastive Learning for Hand Gesture Recognition in Surface EMG

Resources

Stars

4 stars

Watchers

1 watching

Forks

Repository files navigation

STCNet

STCNet: Spatio-Temporal Cross Network with Subject-Aware Contrastive Learning for Hand Gesture Recognition in Surface EMG

data process

first, download dataset (NinaPro DB1, DB2, DB4) https://ninapro.hevs.ch/

second, you have to run denosing.m file!

finally

python emg_process.py --dataset nina1 --path 'your dataset folder path'

how to run train file

python train_sac.py --dataset nina1 --gamma 0.3 --cosine
python train_ce.py --dataset nina1 --cosine --encoder "put your result pth file from train_multi.py"

how to test

python test.py --dataset nina2 --model_path 'put result pth file'

About

Subject-Aware Contrastive Learning for Hand Gesture Recognition in Surface EMG

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages