How to Activate the Tensorboard

(Darren Addo) #1

Please how can I activate the tensorboard feature in OpenNMT.?

(srush) #2

If you are in opennmt-py, use these options:

Use TensorboardX for visualization during training

group.add_argument('-tensorboard', action="store_true",
                   help="""Use tensorboardX for visualization during training.
                   Must have the library tensorboardX.""")
group.add_argument("-tensorboard_log_dir", type=str, default="runs",
                   help="Log directory for Tensorboard.")

(Darren Addo) #3

Great thanks