This is a minimal MNIST Tensorflow Demo for the BKFZ Summer School with the PHT-meDIC.
Analyst should upload the algorithm analysis-train.py
as entrypoint in the central UI.
Admins should upload the corresponding data to their station.
If you are in the second round in thegr group Admins, you dont need to upload the data to the station again!
The analyst instructions you can find in this link
This code loads a prepared dataset and partial trains a MNIST demo. Furthermore it uses Paillier encryption to securely count the number of training and testing samples (globally and privacy preserving)
- Download the App
- Create and upload both keys
- Submit an analysis
- Download and decrypt results
Please ask for help if you have in any of those steps issues.
Your instructions you can find in this link
- Create keys
- Login to the VM
- Install a PHT-meDIC station
- Approve and run analysis
Please ask for help if you have in any of those steps issues.
To copy demo train data to a station (replace YOUR_KEY, YOUR_DATA_PATH, STATION_NUM, IP_VM) and run this command:
scp -i ~/.ssh/YOUR_KEY -r /YOUR_DATA_PATH/ds_STATION_NUM ubuntu@IP_VM:/home/ubuntu/station/station_data/
To run the train use this command (replace STATION_NUM and TRAIN_ID):
{"repository":
"dev-harbor.personalhealthtrain.de/demo-station-STATION_NUM/TRAIN_ID",
"tag": "latest",
"volumes":
{"/home/ubuntu/station/station_data/ds_STATION_NUM":
{"bind":
"/opt/train_data/ds",
"mode": "ro"}},
"gpus":"all"
}
Please use the link to answer shortly a few question: Survey