AttributeError: module 'tensorflow_federated.python.learning' has no attribute 'ModelWeights'

后端 未结 0 1051
后悔当初
后悔当初 2021-01-13 11:19

I use TFF 0.12.0, in this line :

model = tff.learning.ModelWeights.from_model(\'model.h5\')

I find this error:

AttributeError:         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题