Tensorflow涓繚瀛樻ā鍨嬫椂鐢熸垚鐨勫悇绉嶆枃浠跺尯鍒拰浣滅敤
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Tensorflow涓繚瀛樻ā鍨嬫椂鐢熸垚鐨勫悇绉嶆枃浠跺尯鍒拰浣滅敤相关的知识,希望对你有一定的参考价值。
鏍囩锛?a href='http://www.mamicode.com/so/1/%e6%8a%80%e6%9c%af' title='鎶€鏈?>鎶€鏈?/a> 璁$畻 line raft 璁粌 white 鏄綘 cpu value
鍋囧鎴戜滑寰楀埌浜嗗涓嬬殑checkpoints锛?/p>
涓婇潰鐨勬枃浠朵富瑕佸彲浠ュ垎鎴愪笁绫伙細涓€绉嶆槸鍦ㄤ繚瀛樻ā鍨嬫椂鐢熸垚鐨勬枃浠讹紝涓€绉嶆槸鎴戜滑鍦ㄤ娇鐢╰ensorboard鏃剁敓鎴愮殑鏂囦欢锛岃繕鏈変竴绉嶅氨鏄?code>plugins杩欎釜鏂囦欢澶癸紝杩欎釜鏄娇鐢?code>capture tpuprofile宸ュ叿鐢熸垚鐨勶紝璇ュ伐鍏峰彲浠ヨ窡韪猅PU鐨勮绠楄繃绋嬶紝骞跺浣犵殑妯″瀷鎬ц兘杩涜鍒嗘瀽锛岃繖閲屽氨涓嶆兂璇︾粏浠嬬粛浜嗐€傛湰鏂囦富瑕佷粙缁嶅墠闈袱绉嶆枃浠剁殑浣滅敤锛?/p>
tensorboard鏂囦欢
events.out.tfevents.*...: 淇濆瓨鐨勫氨鏄綘鐨刟ccuracy鎴栬€卨oss鍦ㄤ笉鍚屾椂鍒荤殑鍊笺€?/p>
graph.pbtxt: 杩欏叾瀹炴槸涓€涓枃鏈枃浠讹紝淇濆瓨浜嗘ā鍨嬬殑缁撴瀯淇℃伅锛岄儴鍒嗕俊鎭涓嬫墍绀猴細
node_def {
name: "FixedLengthRecordDataset/input_pipeline_task10/buffer_size"
op: "Const"
device: "/job:worker/task:10/device:CPU:0"
attr {
key: "dtype"
value {
type: DT_INT64
}
}
attr {
key: "value"
value {
tensor {
dtype: DT_INT64
tensor_shape {
}
int64_val: 262144
}
}
}
}
node_def {
name: "FixedLengthRecordDataset"
op: "FixedLengthRecordDataset"
input: "FixedLengthRecordDataset/input_pipeline_task10/filenames:output:0"
input: "FixedLengthRecordDataset/input_pipeline_task10/header_bytes:output:0"
input: "FixedLengthRecordDataset/input_pipeline_task10/record_bytes:output:0"
input: "FixedLengthRecordDataset/input_pipeline_task10/footer_bytes:output:0"
input: "FixedLengthRecordDataset/input_pipeline_task10/buffer_size:output:0"
device: "/job:worker/task:10/device:CPU:0"
}
...
淇濆瓨妯″瀷鏃剁敓鎴愮殑鏂囦欢
- checkpoint: 鍏跺疄灏辨槸涓€涓猼xt鏂囦欢锛屽瓨鍌ㄧ殑鏄矾寰勪俊鎭紝鎴戜滑鍙互鐪嬩竴涓嬪畠鐨勫唴瀹规槸浠€涔堬細
model_checkpoint_path: "model.ckpt-5000"
all_model_checkpoint_paths: "model.ckpt-0"
all_model_checkpoint_paths: "model.ckpt-5000"
鍙互鐪嬪埌绗竴琛岃〃绀烘渶杩戠殑涓€娆heckpoints璺緞淇℃伅锛屼篃灏辨槸璇村彲鑳藉洜涓烘煇绉嶅師鍥犱綘鐨勬ā鍨嬭缁冧腑鏂簡銆備笉杩囨病鍏崇郴锛屼笅娆¢噸鏂拌缁冩椂锛屼細鑷姩浠庝笂娆$殑鏂偣缁х画璁粌鑰屼笉鐢ㄩ噸鏂拌缁冧簡銆傚悗闈袱椤瑰垯琛ㄧず宸茬粡淇濆瓨鐨勬墍鏈夋柇鐐硅矾寰勩€?/p>
model.ckpt-*.meta: 鍏跺疄鍜屼笂闈㈢殑graph.pbtxt浣滅敤涓€鏍烽兘淇濆瓨浜唃raph缁撴瀯,鍙笉杩噈eta鏂囦欢鏄簩杩涘埗鐨勶紝瀹冨寘鎷?GraphDef,SaverDef绛?褰撳瓨鍦╩eta file,鎴戜滑鍙互涓嶅湪鏂囦欢涓畾涔夋ā鍨?涔熷彲浠ヨ繍琛?鑰屽鏋滄病鏈塵eta file,鎴戜滑闇€瑕佸畾涔夊ソ妯″瀷,鍐嶅姞杞絛ata file,寰楀埌鍙橀噺鍊笺€?/p>
model.ckpt-*.index: 杩欐槸涓€涓猻tring-string table锛宼able鐨刱ey鍊间负tensor鍚嶏紝value涓簊erialized BundleEntryProto銆傛瘡涓狟undleEntryProto琛ㄨ堪浜唗ensor鐨刴etadata锛屾瘮濡傞偅涓猟ata鏂囦欢鍖呭惈tensor銆佹枃浠朵腑鐨勫亸绉婚噺銆佷竴浜涜緟鍔╂暟鎹瓑銆?/p>
model.ckpt-*.data-*: 淇濆瓨浜嗘ā鍨嬬殑鎵€鏈夊彉閲忕殑鍊硷紝TensorBundle闆嗗悎銆?/p>
以上是关于Tensorflow涓繚瀛樻ā鍨嬫椂鐢熸垚鐨勫悇绉嶆枃浠跺尯鍒拰浣滅敤的主要内容,如果未能解决你的问题,请参考以下文章