Zachary Charles
Zachary Charles
Thanks for the details, they're really helpful. What you're running into is the fact that things like `build_federated_averaging_process` require a `tff.learning.Model` to work. We have a wrapper to do this...
For clarification: You would do something like ``` tff.learning.algorithms.build_weighted_fed_avg( tff_model_fn, ...) ``` after my code snippet above.
The `tff.learning.algorithms` API generally only accepts functions that produce a `tff.learning.Model`, while `functional_model_from_keras` produces a `FunctionalModel` (which does not inherit from `tff.learning.Model`). The utility of the functional model for now...
This is a good question, and I think an instance where a more descriptive error could be thrown. Basically, in the first approach you've already created the `tff.learning.Model` (including associated...
@aynesss This looks like a snippet of code extracted from some library. Is this in a tutorial or example? If not, where is this from? In general you're right that...
Marking this as closed due to inactivity.
Hi @LamaCian. I don't believe there is enough detail here to tell what is actually happening (eg. what `df_aml` is). More generally, to really help here I think I would...
Hi @AntonKimfors. This should have been fixed by commit 77d849c7c49f99a824f757719d8a8ebb4bf31953, which makes the tutorial rely on the latest release of TFF, not the nightly package. Please ping this thread if...
Hi @aixiangwang. Can you provide the information requested on the new bug template, including: * OS Platform and Distribution (e.g., Linux Ubuntu 16.04): * Python package versions (e.g., TensorFlow Federated,...
Could you add the full code that actually causes this bug? Even better, if you can narrow it down to a smaller reproduction of it, that'd be really helpful.