2016-11-27 78 views
2

當我將TensorBoard與TensorFlow v0.9.0配合使用時,TensorFlow可以將Google雲端存儲的摘要讀取爲​​tensorboard --logdir=gs://...TensorBoard無法讀取Google雲端存儲中的摘要

但是,帶有TensorFlow v0.11.0的TensorBoard無法讀取它。 從v0.9.0更改爲v0.11.0了嗎?

錯誤消息如下。

W tensorflow/core/platform/cloud/google_auth_provider.cc:151] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Unavailable: libcurl failed with error code 23: Failed writing body (101 != 188)". Retrieving token from GCE failed with "Unavailable: Unexpected response code 0".

回答

5

能否請您嘗試運行gcloud auth application-default login?在此之後,TensorBoard應該能夠獲得訪問GCS所需的憑證。

的原因是TensorBoard現在使用的應用程序的默認憑據,請參閱https://developers.google.com/identity/protocols/application-default-credentials

+0

運行'gcloud身份驗證應用程序默認login'沒有解決錯誤信息給我。任何其他想法? – Orny

+0

嗨!對不起,延遲。你可以試試TF 1.0或TF 1.0.1,看看錯誤是否仍然存在? TensorFlow現在靜態鏈接它的libcurl版本,而不是動態地使用系統中安裝的libcurl版本,這可能與TensorFlow代碼有一些不兼容。另外,在最近的幾個月中對於如何在libcurl集成中處理寫入緩衝區進行了一些更改。 –

相關問題