關於tensorflow的碎片

2021-10-23 16:32:31 字數 354 閱讀 4197

1、突然間視覺化tensorflow報錯:importerror: cannot import name 『monitoring』

解決:

pip uninstall tensorflow_estimator

pip install -iv tensorflow_estimator==1.13.0

2、tensorflow視覺化檢視語句:

tensorboard --logdir=日誌路徑位址
然後記住控制台不要關!!

開啟瀏覽器,位址列輸入http://localhost:6006回車,就開啟視覺化介面了。

關於索引碎片

整理表碎片.這個很多人都不知道,其實因為表的記錄數變多,在硬碟上佔的容量變大,所以會產生一定量的碎片.如果記錄多,表多的話,碎片也可能會增多.所以要定時的整理碎片.但這個碎片和一般的檔案碎片不一樣,sql server有專門的語句用於表碎片.下樓補上語句 首先,用下面的語句,檢查 修復資料庫 並整理...

關於Android中的碎片

1.碎片和活動差不多,也包含布局。有自己的生命週期 2.在活動中使用fragment標籤可以將碎片新增到布局中 5個步驟 1.建立待新增的碎片例項 2.獲取fragmentmanager,在活動中可以直接通過呼叫getsupportfragmentmanager 方法得到 3.開啟乙個事務,通過呼叫...

關於tensorflow的學習

import tensorflow as tf import numpy as np x tf.placeholder tf.int32,shape 3,3 y tf.matmul x,x z tf.reduce sum y,1 with tf.session as sess rand array ...