google-research / federated

A collection of Google research projects related to Federated Learning and Federated Analytics.
Apache License 2.0
693 stars 196 forks source link

tff.python.simulation has no attribute "MetricsManager" #15

Closed juntang-zhuang closed 3 years ago

juntang-zhuang commented 3 years ago

I ran into error "tff.python.simulation has no addtribute "MetricsManager"". Could you specify which version of tf and tff did you use? Thanks a lot.

wennanzhu commented 3 years ago

Hi,

tff.python.simulation.MetricsManager is in the current stable tff version 0.17.0

Could you try this version and see if the error still appears?

nightldj commented 3 years ago

MetricsManager is moved from this repo to TFF in https://github.com/tensorflow/federated/commit/b05b64588b2e6b6e078f6d681efb5cd3148e8d4f.

We suggest install TFF nightly https://pypi.org/project/tensorflow-federated-nightly/ to run code in this repo.

zcharles8 commented 3 years ago

@juntang-zhuang Were you able to get this working?

juntang-zhuang commented 3 years ago

@zcharles8 Sorry for the late reply. It works now. Thanks for the help.