Closed borkjt9 closed 7 years ago
is the error in the following tutorial https://github.com/OpenMined/PySyft/blob/master/notebooks/Syft%20-%20Paillier%20Encrypted%20Linear%20Classification.ipynb ?
Yes.
It would be better if u submit the issue in PySyft project itself and submit the PR for same :)
The line
model = model.decrypt()
returns the error "decrypt() missing 1 required positional argument: 'prikey'".In the Syft library, decrypt requires the parameter 'private key'. Therefore I think this line should be changed to
model = model.decrypt(capsule)
.I am happy to update if necessary.