Comments (7)
- For python 3.6.15 + tf 1.13.2, it will be fixed by this PR: #864
- For python 3.6.15 + tf 1.14.0, it will NOT work due to a bug in tf 1.14.0
- For python 3.7.11 + tf.15.2, I have tested it and it does work. So, my best guess is, your
pip install -e .
ormake build
command do not end successfully. Please verify them. Moduletf_encrypted.protocol.aby3
just locates at./tf_encrypted/protocol/aby3
. Please check whether you can find it.
from tf-encrypted.
Currently sort_and_max could only be used by building from source. Could you report your python and tf version ?
from tf-encrypted.
Currently sort_and_max could only be used by building from source. Could you report your python and tf version ?
My python version is 3.7.11 and the tensorflow version is 1.15.2.
from tf-encrypted.
Currently sort_and_max could only be used by building from source. Could you report your python and tf version ?
My python version is 3.7.11 and the tensorflow version is 1.15.2.
When I tried in Python 3.6.15 and TF 1.13.2, I got the TypeError: can only concatenate list (not "TensorShapeV1") to list. Specifically,
Traceback (most recent call last):
File "aby3_profile.py", line 30, in test_sort_performance
private_x = tfe.define_private_variable(x)
File "tf-encrypted/tf_encrypted/protocol/aby3/aby3.py", line 432, in define_private_variable
shares = self._share(v, share_type=share_type)
File "tf-encrypted/tf_encrypted/protocol/aby3/aby3.py", line 924, in _share
randoms = secret.factory.sample_uniform([2] + secret.shape)
TypeError: can only concatenate list (not "TensorShapeV1") to list
And using Python 3.6.15 and TF 1.14.0, I got another error: tensorflow.python.framework.errors_impl.InternalError: empty shape_inference::InferenceContext pointer for 'pair-randomness-setup/seed0' (op: 'SecureSeed') with input shapes: .
from tf-encrypted.
Never encountered these.. could you download and build TFE from source in a fresh new linux environment and see if the error happens again?
git clone https://github.com/tf-encrypted/tf-encrypted.git
cd tf-encrypted
pip install -e .
make build
from tf-encrypted.
I tried in a fresh new linux environment with Python 3.6.15 and TF 1.15.0. It can work well. But for TF 1.13.2 and 1.14.0, the same errors ocurred.
Thank you for replying.
from tf-encrypted.
- For python 3.6.15 + tf 1.13.2, it will be fixed by this PR: Fix compatibility #864
- For python 3.6.15 + tf 1.14.0, it will NOT work due to a bug in tf 1.14.0
- For python 3.7.11 + tf.15.2, I have tested it and it does work. So, my best guess is, your
pip install -e .
ormake build
command do not end successfully. Please verify them. Moduletf_encrypted.protocol.aby3
just locates at./tf_encrypted/protocol/aby3
. Please check whether you can find it.
Thank you for a quick reply. I found that I failed in installing tf-encrypted, becauce that "No matching distribution found for tf-big~=0.1.0" in Python 3.7.11 on Centos 7.6.
from tf-encrypted.
Related Issues (20)
- Save and Load ABY3 Model
- Can this framework use encrypted training data to train network models? Are there any relevant cases to learn from? HOT 7
- version 0.8 federation-learning example seems contain an error in validation dataset setting HOT 2
- AssertionError When running Server HOT 2
- Scaling base question HOT 2
- 'NoneType' object has no attribute 'secure_seed' HOT 9
- TypeError: can only concatenate list (not "TensorShapeV1") to list. (An error in sample_seeded_uniform) HOT 2
- In the federated learning of examples, how to protect the DataOwner's gradient? HOT 1
- I can't install TF-Encrypted HOT 1
- Is it possible to evaluate the BaseModel with other keras metrics aside from binary and categorical accuracy? HOT 5
- Trying to better understand the framework beahavior HOT 2
- ValueError: Invalid dtype tf.int16 HOT 2
- why I can see all secret shares in one party? HOT 3
- Can't import tf_encrypted in Colab notebook
- windows install tf-encrypted issue HOT 2
- make: *** [Makefile:322:tf_encrypted/operations/secure_random/secure_random_module_tf_2.13.0.so]; make build error HOT 1
- DepthwiseConv2D output shape bug???
- WAN setting benchmarks. HOT 4
- ImportError: cannot import name 'glob_stateful_parallelism' from 'tensorflow.python.ops.while_v2' HOT 3
- fatal error: tensorflow/core/util/work_sharder.h: No such file or directory #include "tensorflow/core/util/work_sharder.h" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tf-encrypted.