The code for Privacy-preserving paper: all the defence are implement using CIFAR-100

Test Vgg:

./run.sh

The results will be stored in "./Vgg/top5TrainProbBinary.txt", "./Vgg/top5ProbBinary.txt"(binarize conv1 ~ conv5)

Test AlexNet

./run.sh -n "AlexNet"

The encryption code is in ./cryp