From 93c7548d8efd0ce58801948858409e4a9fc92dca Mon Sep 17 00:00:00 2001 From: fanlai0990 Date: Sat, 11 Mar 2023 11:48:36 -0500 Subject: [PATCH] [Doc] Deployment Readme --- fedscale/edge/android/README-App.md | 30 +++++++++ fedscale/edge/android/README.md | 100 +++++++++++++++------------- 2 files changed, 85 insertions(+), 45 deletions(-) create mode 100644 fedscale/edge/android/README-App.md diff --git a/fedscale/edge/android/README-App.md b/fedscale/edge/android/README-App.md new file mode 100644 index 00000000..51f39469 --- /dev/null +++ b/fedscale/edge/android/README-App.md @@ -0,0 +1,30 @@ +## FedScale Example Mobile App + +We provide a sample app which you can choose to +- Train/test models with TFLite or Alibaba MNN. +- Fine-tune models locally **after** receiving model from the cloud. + +Please follow these steps to download and build the sample android app. + +1. Download and unzip [sample dataset (TrainTest.zip)](https://drive.google.com/file/d/1nfi3SVzjaE0LPxwj_5DNdqi6rK7BU8kb/view?usp=sharing) to `assets/` directory. Remove `TrainTest.zip` after unzip to save space on your mobile device. After unzip, you should see 3 files and 2 directories under `assets/`: + 1. `TrainSet`: Training set directory, contains 320 images. + 2. `TestSet`: Testing set directory, contains 32 images. + 3. `conf.json`: Configuration file for mobile app. + 4. `train_labels.txt`: Training label file with format `