簡體   English   中英

如何在 Google Colab 上安裝聯合的 Tensorflow?

[英]How to install Tensorflow federated on Google Colab?

我想在 Google Colab 中安裝 Tensorflow 聯合學習,但我遇到了這個錯誤(不僅有很多不同的依賴項)

!pip install --quiet tensorflow_federated
!pip install --quiet  tf-nightly
RROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tf-nightly 2.10.0.dev20220529 requires tf-estimator-nightly~=2.10.0.dev, but you have tf-estimator-nightly 2.8.0.dev2021122109 which is incompatible.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow 2.8.0+zzzcolab20220506162203 requires tf-estimator-nightly==2.8.0.dev2021122109, but you have tf-estimator-nightly 2.10.0.dev2022052908 which is incompatible.

如何解決這個問題? 難道我做錯了什么?

我會說嘗試創建新的運行時(谷歌合作將在失敗后顯示按鈕)並重新運行安裝。 有用。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM