Comments (2)
I think changing line 92 in dp_optimizer.py to return list(zip(final_grads, var_list))
should fix this.
from privacy.
Had the same problem while using the DPOptimizer on my own model. The update highlighted by @lgondara fixed it for me.
from privacy.
Related Issues (20)
- A Question about Research mi_lira_2021: why set training=True at Inference
- Inconsistency in released Versions between GitHub and PyPI HOT 1
- Privacy?
- cannot import name 'dp_event' from 'tensorflow_privacy.privacy.analysis' HOT 2
- Python version restricted to >=3.9, inability to use official docker containers of tensorflow HOT 1
- AttributeError: module 'tensorflow_privacy.privacy.analysis.compute_dp_sgd_privacy' has no attribute 'compute_dp_sgd_privacy' HOT 2
- Why isn't SampledWithoutReplacementDpEvent used instead of PoissonSampledDpEvent for DP-SGD epsilon calculation? HOT 2
- Question about rdp_accountant.py HOT 1
- question about "tensorflow_privacy.privacy.dp_query.gaussian_query" HOT 2
- Privacy guarantees of of privacy amplification by iteration example
- Federated DPFTRL and Adaptive Clipping noise injection. HOT 1
- Fresh install doesn't work (incompatible versions of tensorflow and tensorflow_privacy)
- Incompatible with hub.KerasLayer HOT 1
- Module Not Found Error
- import tensorflow_privacy -> AttributeError HOT 4
- Any recommended way to save a tf privacy model?
- Is this project abandoned? HOT 2
- Update depdency: packaging
- ValueError: Dimension size must be evenly divisible by 50 but is 1 for '{{node Reshape}} = Reshape[T=DT_FLOAT, Tshape=DT_INT32](
- ABCMeta object is not subscriptable 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 privacy.