- Generate first layer weights multiplied by the input samples using the command:
python src/gen_wx.py
or with any other method using the NN to be attacked and save the results into data:
a.datashould be the result ofWXw.dataandx.datacan be used for analyzing the result.
- Run
python src/linprog.pyin order to operate the attack
The server should be run before the client
-
Server:
python src/mitigation1_server.py -
Client
python src/mitigation1_client.py
- install charm
- download MNIST/CIFAR10 Dataset