Open tylershumaker opened 2 years ago
Hi @tylershumaker , thanks for reaching out. The error you're seeing seems to be a TensorFlow error. Could it be related to the commented-out line model.build(...)
? Maybe it's caused by the fact that when you create the MovieLensModel
and pass it to the FlwrClient
, the first thing that happens in get_parameters
is model.get_weights
(or in fit
the call to model.set_weights
)? The error message suggests that the model should be called on inputs first (or use build()
) to create weights.
I am trying to combine Tensorflow recommenders (TFRS) quickstart example with the Flower quickstart simulation notebook in Colab.
I can't get past this error:
model.build() is not required to train original tfrs model.
Link to Colab here