privateml

Machine Learning with SPDZ

Stars
19

PrivateML

Training convolutional neural nets (CNNs) using SPDZ; Read this blogpost to learn more. This repository is an extension of privateml/image-analysis.

How to run

Make sure you have the following installed:

  • Python 3.6 (preferably in virtualenv / conda env)
  • Tensorflow (used only to download datasets)

To install the other requirements, run:

pip install --upgrade -r requirements.txt

Now you can open the full code example:

jupyter notebook image_analysis/Convnet.ipynb

Select the correct kernel before running the code, as it is probably set to python 2.7. You might have to add your environment to the lis tof kernels:

pip install ipykernel
python -m ipykernel install --user --name=[NAME OF YOUR ENV]