Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in DP-SGD #1

Open
apustozerova opened this issue Jan 3, 2023 · 0 comments
Open

Error in DP-SGD #1

apustozerova opened this issue Jan 3, 2023 · 0 comments

Comments

@apustozerova
Copy link

Screenshot 2023-01-03 at 10 15 36

when trying to run Gradient Perturbation with logistic Regression or DP-SGD, when fitting the model with model.fit there pops up an error:

AssertionError: compute_gradients() on the differentially private optimizer was not called. Which means that the training is not differentially private. It happens for example in Keras training in TensorFlow 2.0+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant