From 85280ab5685ee6f99b8e604fe63aa87da57f6f3f Mon Sep 17 00:00:00 2001 From: Ilya Mironov Date: Mon, 6 May 2019 10:30:13 -0700 Subject: [PATCH] Removing max_samples and max_queries from the tutorial. PiperOrigin-RevId: 246850557 --- tutorials/mnist_dpsgd_tutorial.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tutorials/mnist_dpsgd_tutorial.py b/tutorials/mnist_dpsgd_tutorial.py index 951b1c7..5831054 100644 --- a/tutorials/mnist_dpsgd_tutorial.py +++ b/tutorials/mnist_dpsgd_tutorial.py @@ -99,9 +99,7 @@ def cnn_model_fn(features, labels, mode): if FLAGS.dpsgd: ledger = privacy_ledger.PrivacyLedger( population_size=60000, - selection_probability=(FLAGS.batch_size / 60000), - max_samples=1e6, - max_queries=1e6) + selection_probability=(FLAGS.batch_size / 60000)) # Use DP version of GradientDescentOptimizer. Other optimizers are # available in dp_optimizer. Most optimizers inheriting from