mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
adding support in tensorboard (#52)
* bug-fix in architecture.py where additional fetches would acquire more entries than it should * change in run_test to allow ignoring some test(s)
This commit is contained in:
@@ -157,6 +157,12 @@ if __name__ == "__main__":
|
||||
for network in agent.networks:
|
||||
network.set_session(sess)
|
||||
|
||||
if tuning_parameters.visualization.tensorboard:
|
||||
# Write the merged summaries to the current experiment directory
|
||||
agent.main_network.online_network.train_writer = tf.summary.FileWriter(
|
||||
tuning_parameters.experiment_path + '/tensorboard_worker{}'.format(tuning_parameters.task_id),
|
||||
sess.graph)
|
||||
|
||||
# Start the training or evaluation
|
||||
if tuning_parameters.evaluate_only:
|
||||
agent.evaluate(sys.maxsize, keep_networks_synced=True) # evaluate forever
|
||||
|
||||
Reference in New Issue
Block a user