You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ImportError: cannot import name 'privacy_ledger' from 'tensorflow_privacy.privacy.analysis' (C:\miniconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow_privacy\privacy\analysis_init_.py)
The text was updated successfully, but these errors were encountered:
Actually I was trying to use privacy_ledger because of another 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+.
I checked all of the related issues but still couldn't solve the above. Any idea on how I can avoid this error? Thanks again!
ImportError: cannot import name 'privacy_ledger' from 'tensorflow_privacy.privacy.analysis' (C:\miniconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow_privacy\privacy\analysis_init_.py)
The text was updated successfully, but these errors were encountered: