Skip to content

Night-mk/LP-GAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

LP-GAN

lightweight Privacy-Preserving GAN Framework

dataset

dataset is saved in:

/data/MNIST
/data/Cifar-10
/data/CelebA

model

model is saved in:

/model_save

secure computation protocols

secure computation protocols can be found in:

/layers/secure_protocols.py
/layers/secure_protocols_2.py
/layers/secure_protocols_3.py

secure protocols for different layers in Neural Network

/layers/Conv_sec.py # Convolution
/layers/Deconv_sec.py # DeConvolution
/layers/FC_sec.py # Fully Connected
/layers/BN_sec.py # Batch Normalization
/layers/Logsoftmax_sec.py # softmax+log
/layers/Activator_sec.py # square, ReLU, LeakyReLU, Sigmoid, Tanh
/layers/Loss_sec.py # Cross Entropy

secure inference and training on different networks

secure inference and training code can be found in:

/layers/Secureml_5.py # 3-FC,square
/layers/CryptoNet_5.py # 1-Conv,2-FC,square
/layers/Minionn_5.py # 1-Conv,2-FC,ReLU

LP-GAN test

the secure image synthesis and testing work can be found in:

/layers/DCGAN_mnist_sec.py

About

lightweight Privacy-Preserving GAN Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages