<jupyter_start><jupyter_text>打开tensorboard<jupyter_code>在命令行输入：

D:\>tensorboard --logdir=D:\Documents\logs
TensorBoard 0.1.8 at http://ww-1:6006 (Press CTRL+C to quit)<jupyter_output><empty_output><jupyter_text>keras使用TensorBoard<jupyter_code>from keras.callbacks import TensorBoard

# 训练模型
model.fit(x_train,y_train,batch_size=64,epochs=10,callbacks=[TensorBoard(log_dir='./tmp/log')])<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14388489208633093, 'fraction_numerical': 0.02877697841726619, 'mean_word_length': 11.294117647058824, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '455622', 'license': 'Apache-2.0', 'n_tokens_mistral': 186, 'n_tokens_neox': 183, 'n_words': 16, 'path': 'models_deep_learning/tf1/tensorboard.ipynb', 'repo_name': 'mayi140611/mayiexamples', 'size': '417'}