youben11 / encrypted-evaluation Goto Github PK
View Code? Open in Web Editor NEWClient/Server framework for encrypted machine learning using homomorphic encryption
License: GNU General Public License v3.0
Client/Server framework for encrypted machine learning using homomorphic encryption
License: GNU General Public License v3.0
While executing client.py I encounter the following error.
[1] Model LinearLayer:
[*] Description: Linear Layer computing out = encrypted_input.matmul(weight) + bias
input and output shapes depends on the parameters weight and bias
The input should be encrypted as a tenseal.CKKSVector, the output will as well be encrypted.
[] Versions: ['0.1']
[] Default version: 0.1
====================================
Traceback (most recent call last):
File "client.py", line 31, in
result = client.evaluate(model_name="LinearLayer", context=ctx, ckks_vector=enc_vec)
File "C:\anaconda3\lib\site-packages\eeval\client\client.py", line 123, in evaluate
Client._handle_error_response(response)
File "C:\anaconda3\lib\site-packages\eeval\client\client.py", line 136, in _handle_error_response
raise ServerError("Server error")
eeval.client.exceptions.ServerError: Server error
The 0.1.0 version of tenseal doesn't seem to be valid anymore. While trying to install eeval with 'pip install eeval' the following error is thrown:
ERROR: Could not find a version that satisfies the requirement tenseal~=0.1.0 (from eeval) (from versions: 0.3.12, 0.3.13, 0.3.14)
ERROR: No matching distribution found for tenseal~=0.1.0
Could you update the package to use a newer release of tenseal?
Hello,
I wanted to try out your framework, so went the the exemple part. I made a python3 server.py and the API is up.
The problem that I got is in the CLient part (when I try to encrypt the plaint_input) :
AttributeError: module 'tenseal' has no attribute 'im2col_encoding'
I am using tenseal=0.1.0
Can you help me ? thank's
Hello, I meet a problem when I run this program. This problem from server.py is that it can't find the function of pack_vectors in tenseal. In addition, I look other versions of tenseal, and I find that all of them have not the pack_vectors function. So, I want to get some solutions from you. Looking for your reply!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.