diff --git a/paddle_fl/core/strategy/fl_strategy_base.py b/paddle_fl/core/strategy/fl_strategy_base.py index b8c7338c3fbfec72830dee9621ebaaa907d8ea36..95f1cc8483b57a9d93dbaa19e7f5dbdd3cd646e8 100644 --- a/paddle_fl/core/strategy/fl_strategy_base.py +++ b/paddle_fl/core/strategy/fl_strategy_base.py @@ -144,10 +144,9 @@ class DPSGDStrategy(FLStrategyBase): def minimize(self, optimizer=None, losses=[]): """ - Define Dpsgd optimizeer + Define Dpsgd optimizer """ optimizer = fluid.optimizer.Dpsgd(self._learning_rate, clip=self._clip, batch_size=self._batch_size, sigma=self._sigma) - print(str(optimizer)) optimizer.minimize(losses[0]) def _build_trainer_program_for_job(