【发布时间】:2022-11-14 12:32:35
【问题描述】:
我正在尝试在 google collab 上安装联合的 Tensorflow,但与版本存在冲突,如果我安装以前的版本或类似错误,我会收到此错误。
module tensorflow_federated.python has no attribute federated_computation
如果我想安装新版本,它会在安装过程中给出“这需要这个版本,但你有这个版本”。 我很困扰。有没有简单的方法来使用 Tensorflow 联邦学习?我尝试在本地安装它,但也没有用。 为什么这么难用?
如果我卸载了所有软件包并再次安装它们,它会给我上面提到的错误
如果我尝试导入它而忽略图片中的错误,它会给我一个更新版本的错误
'type' object is not subscribable
这个错误与版本 20
module 'tensorflow_federated.python' has no attribute 'federated_computation'
【问题讨论】:
标签: python tensorflow tensorflow-federated