## 텐서 보드 생성.

from tensorboardcolab import * 

from datetime import datetime


current_time = str(datetime.now().timestamp())

train_log_dir = 'logs/tensorboard/train/' + current_time


tbc = TensorBoardColab(graph_path = train_log_dir) # To create a tensorboardcolab object it will automatically creat a link

writer = tbc.get_writer() # To create a FileWriter

writer.add_graph(tf.get_default_graph()) # add the graph 

writer.flush()



//매직 펑션 활용

## 텐서 보드 생성.

from tensorboardcolab import * 



%load_ext tensorboard

%tensorboard --logdir logs/tensorboard



+ Recent posts