ProtoHAR: Prototype Guided Personalized Federated Learning for Human Activity Recognition (IEEE JBHI 2023)
Abstract (paper)
We offer a benchmark for USC-HAD and HARBOX.
- git clone the repo
git clone https://github.com/cheng-haha/ProtoHAR.git
- Enter the current folder
cd {yourfolder}
- Generate heterogeneous data sets
NOTE:args.dataset_dir = {your dataset path}
python data/uschad/uschad_subdata.py
python data/harbox/harbox_subdata.py
- Usage
bash runexp.sh
- USC-HAD has 14 clients, HARBOX has 120 clients
- the learning rate of USC is 0.001, HARBOX:0.01