Closed rehmanaziz3 closed 3 days ago
@rehmanaziz3, Looks like this issue is more related to TensorFlow_Federated, not with the tensorflow. Could you please check with the concerned repo. Also there is an open PR raised in that repo for removing the support for tf.keras.optimizers.Optimizer in tff.learning.algorithms which might be the reason for respective error.
https://github.com/google-parfait/tensorflow-federated/pull/4866
Thank you!
This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.
This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.
AttributeError Traceback (most recent call last) in <cell line: 56>()
54
55 # Create a federated averaging process
---> 56 iterative_process = tff.learning.build_federated_averaging_process(
57 model_fn=model_fn,
58 client_optimizer_fn=lambda: tf.keras.optimizers.SGD(learning_rate=0.01),
AttributeError: module 'tensorflow_federated.python.learning' has no attribute 'build_federated_averaging_process'