module ‘tensorflow_federated.python.learning’ has no attribute ‘Model’

  Kiến thức lập trình

I have installed tff 0.75.0, TF is 2.14.1, Python is 3.10.12 and working on Google Colab.

Error in my program:

thisAttributeError: module ‘tensorflow_federated.python.learning’ has no attribute ‘Model’

I have tried lots of versions by downgrading and upgrading when I do downgrading than I have conflict issues when doing upgrading than these attribute errors.

Which version is best to resolve these kinds of errors?

New contributor

Sham Shah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT