Coder Social home page Coder Social logo

dreamingraven / python-fhez Goto Github PK

View Code? Open in Web Editor NEW
28.0 3.0 7.0 2.5 MB

Official mirror of Python-FHEz; Python Fully Homomorphic Encryption (FHE) Library for Encrypted Deep Learning as a Service (EDLaaS).

Home Page: https://gitlab.com/deepcypher/python-fhez

License: Open Software License 3.0

Python 99.47% Shell 0.53%
cryptography fully-homomorphic-encryption fhe deep-learning machine-learning docker kubernetes

python-fhez's Introduction

Python-FHEz

(Formerly Python-ReSeal)

FHEz fun computational graph snake logo

Python-FHEz is a fully-homomorphically-encrypted deep-learning library, made with love, and tears.

Cypherpunks write code.

Docs

Cypherpunks, read the docs:

Version Provider Link to Documentation
Master RTD_ RTD Documentation Status (Latest/Master)
Stable RTD_ RTD Documentation Status (Latest Stable Release)
Staging RTD_ RTD Documentation Status (Staging)
Dev RTD_ RTD Documentation Status (Staging)
Staging (Full Autodoc) GitLab Pages GitLab Pages Documentation Status (Latest/Master)

Cite

Either:

@online{reseal,
  author = {George Onoufriou},
  title = {Python-FHEz Source Repository},
  howpublished = {GitLab},
  year = {2021},
  url = {https://gitlab.com/DeepCypher/python-fhez},
}

Or if you do not have @online support:

@misc{reseal,
  author = {George Onoufriou},
  title = {Python-FHEz Source Repository},
  howpublished = {GitLab},
  year = {2021},
  note = {\url{https://gitlab.com/DeepCypher/python-fhez}},
}

python-fhez's People

Contributors

dreamingraven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

python-fhez's Issues

How far from proper installation with `pip`?

Hi @DreamingRaven,

First of all, thanks for your preliminary work enabling FHE in machine learning. I had two questions in mind specifically about the longevity and long-term goals of this project, since the last commit was more than nine months ago (not a hit on you, I know myself how difficult it can be to maintain and document a medium-to-large library on your own).

  1. I saw the installation instructions, and the preferred installation method seems to be still by running the code inside the published Docker containers due to the difficulties building the bindings with the SEAL library. I know that the team working on SEAL has no intention of actively maintaining Python bindings, as they prefer to focus their efforts on the C++ compatibility. Is this GitLab repository the one containing your custom SEAL bindings?
  2. As a side note, how far do you think you are from having a proper self-contained installation backend with pip? Having working containers is nice because we can play with the package, but being able to install it would be crucial.

I am quite interested in your package, since we are trying to solve a real-world problem in the healthcare domain, where the preservation of privacy is the major concern on the data provider's side. Do you think the package is mature enough to build a complex network? Being very RAM and storage hungry, I am trying to figure out what the requirements of such a network would be.

I know that Intel has also developed its own SEAL integration for HE in machine learning with the nGraph compiler (now moved to the OpenVINO toolkit). Are there any major differences between your approach to FHE neural networks and theirs?

Finally, are you still actively working on this project? What are your short- and long-term goals with it?

Performance of the Network

Hi!
I had to download Fashion MNIST Dataset manually and then place it inside to train the network as there was an unzipping problem. I reached about 62% accuracy on this. Previous results here are also showing same kind of accuracy. Can you kindly tell me that is this the performance you are getting ? and is it fine?
Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.