Supervisely +
TensorBoard Integration

Wrap any training script into a Supervisely app with TensorBoard metrics.

What it does

The Training tensorboard template is the simplest way to bring your own training script into Supervisely. Its run.sh downloads the project, starts TensorBoard, runs the training script and uploads the artifacts to Team Files.

It works with any architecture and task and needs almost no changes to your code. Earlier runs show up next to the current one when their logs directory is set.

Supported workflows

  • Train any model on a Supervisely project in Supervisely format.
  • Watch training metrics live in TensorBoard.
  • Upload checkpoints and TensorBoard logs to Team Files when training ends.
  • Compare with previous runs by pointing HISTORY_DIR at their logs.
  • Release the modified template as a private app.

Setup overview

  1. Clone the template and put your training code into src/train.py.
  2. Read data from --input-dir and write checkpoints and logs to --output-dir.
  3. Debug it locally against your Supervisely account.
  4. Release it as a private app with the supervisely release command and run it on your projects.