Skip to main content
Skip table of contents

Viewing Training Progress in TensorBoard

In order for this functionality to work, you must have the Traefik proxy server configured and the xnat/demo-tensorboard container image installed. See Components of the XNAT ML Release for reference.

There are known limitations with this functionality – notably, only one TensorBoard view can be open at any one time, for all users on your site. This feature is very much still in Beta.

By default, this "View TensorBoard" functionality is disabled in the ML plugin. To enable the features on this page, configure your Traefix proxy and install the tensorboard command, then log in as an XNAT Administrator and go to Administer > Plugin Settings > XNAT ML Prefs to toggle this option on.


Once you have launched training, the Models and Training dashboard gives you an opportunity to view the live results of the ongoing training in TensorBoard. This view draws from the tf_events file as new events are logged to it as an output of model training. First, locate your training run in the model dashboard.

You'll notice that the availability and appearance of the Tensorboard icon (

) depends on the status of the training run. While that status is set to "Running", the icon appears green, and clicking on it will show you a live view of TensorBoard. (Note: the initial view that loads will depend on the current state of the tf_events file, whether or not there are results ready to graph.) After the status of your training run is set to "Complete", this icon will appear black, and will show you an archived view of TensorBoard.

You can click on the

"Expand" button in the top right corner of the screen to expand this dialog to full-screen width. This TensorBoard view will continue to update itself to display new data as your training progresses.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.