Gradient Docs
Gradient HomeHelp DeskCommunitySign up free
1.0.0
1.0.0
  • About Paperspace Gradient
  • Get Started
    • Quick Start
    • Core Concepts
    • Install the Gradient CLI
    • Common Errors
  • Tutorials
    • Tutorials List
      • Getting Started with Notebooks
      • Train a Model with the Web UI
      • Train a Model with the CLI
      • Advanced: Distributed training sample project
      • Registering Models in Gradient
      • Using Gradient Deployments
      • Using Custom Containers
  • Notebooks
    • Overview
    • Using Notebooks
      • The Notebook interface
      • Notebook metrics
      • Share a Notebook
      • Fork a Notebook
      • Notebook Directories
      • Notebook Containers
        • Building a Custom Container
      • Notebook Workspace Include Files
      • Community (Public) Notebooks
    • ML Showcase
    • Run on Gradient (GitHub badge)
  • Projects
    • Overview
    • Managing Projects
    • GradientCI
      • GradientCI V1 (Deprecated)
  • Workflows
    • Overview
      • Getting Started with Workflows
      • Workflow Spec
      • Gradient Actions
  • Experiments
    • Overview
    • Using Experiments
      • Containers
      • Single-node & multi-node CLI options
      • Experiment options
      • Gradient Config File
      • Environment variables
      • Experiment datasets
      • Git Commit Tracking
      • Experiment metrics
        • System Metrics
        • Custom Metrics
      • Experiment Logs
      • Experiment Ports
      • GradientCI Experiments
      • Diff Viewer
      • Hyperparameter Tuning
    • Distributed Training
      • Distributed Machine Learning with Tensorflow
      • Distributed Machine Learning with MPI
        • Distributed Training using Horovod
        • Distributed Training Using ChainerMN
  • Jobs
    • Overview
    • Using Jobs
      • Stop a Job
      • Delete a Job
      • List Jobs
      • Job Logs
      • Job Metrics
        • System Metrics
        • Custom Metrics
      • Job Artifacts
      • Public Jobs
      • Building Docker Containers with Jobs
  • Models
    • Overview
    • Managing Models
      • Example: Prepare a TensorFlow Model for Deployments
      • Model Path, Parameters, & Metadata
    • Public Models
  • Deployments
    • Overview
    • Managing Deployments
      • Deployment Containers
        • Custom Deployment Containers
      • Deployment States
      • Deployment Logs
      • Deployment Metrics
      • A Deployed Model's API Endpoint
        • Gradient + TensorFlow Serving
      • Deployment Autoscaling
      • Optimize Models for Inference
  • Data
    • Types of Storage
      • Managing Data in Gradient
        • Managing Persistent Storage with VMs
    • Storage Providers
    • Versioned Datasets
    • Public Datasets Repository
  • TensorBoards
    • Overview
    • Using Tensorboards
      • TensorBoards getting started with Tensorflow
  • Metrics
    • Metrics Overview
    • View and Query Metrics
    • Push Metrics
  • Secrets
    • Overview
    • Using Secrets
  • Gradient SDK
    • Gradient SDK Overview
      • Projects Client
      • Experiments Client
      • Models Client
      • Deployments Client
      • Jobs Client
    • End to end tutorial
    • Full SDK Reference
  • Instances
    • Instance Types
      • Free Instances (Free Tier)
      • Instance Tiers
  • Gradient Cluster
    • Overview
    • Setup
      • Managed Private Clusters
      • Self-Hosted Clusters
        • Pre-installation steps
        • Gradient Installer CLI
        • Terraform
          • Pre-installation steps
          • Install on AWS
          • Install on bare metal / VMs
          • Install on NVIDIA DGX
        • Let's Encrypt DNS Providers
        • Updating your cluster
    • Usage
  • Tags
    • Overview
    • Using Tags
  • Machines (Paperspace CORE)
    • Overview
    • Using Machines
      • Start a Machine
      • Stop a Machine
      • Restart a Machine
      • Update a Machine
      • Destroy a Machine
      • List Machines
      • Show a Machine
      • Wait For a Machine
      • Check a Machine's utilization
      • Check availability
  • Paperspace Account
    • Overview
    • Public Profiles
    • Billing & Subscriptions
    • Hotkeys
    • Teams
      • Creating a Team
      • Upgrading to a Team Plan
  • Release Notes
    • Product release notes
    • CLI/SDK Release notes
Powered by GitBook
On this page
  • Create a TensorBoard
  • Viewing a TensorBoard
  • Adding and Removing Experiments
  • Delete Tensorboard
  • Learn More
  1. TensorBoards

Using Tensorboards

How to create a Tensorboard instance in Gradient

PreviousOverviewNextTensorBoards getting started with Tensorflow

Last updated 4 years ago

Gradient TensorBoards require a

View the full CLI/SDK Docs for Tensorboards here:

Gradient Private Cluster customers are able to create TensorBoards, as well as attach and remove Experiments to them. You can perform these operations via the web UI or the CLI.

From any Experiment details view, you can add any experiment, across all team projects, to any TensorBoard.

You'll see all of your team's TensorBoards listed under any Experiment Details view, though you can filter TensorBoards down only to show the ones that contain Experiments from within the current Project.

Create a TensorBoard

To create a TensorBoard, whether your team already has multiple or has none, 1) navigate to Projects and click into any Experiment to see its Details page; 2) click TensorBoards; and 3) click Create TensorBoard.

Clicking Create TensorBoard will launch the following modal, where you can add a Name for your TensorBoard, as well as optional Username and Password for basic authentication. Then click Create TensorBoard.

By default, if you have zero TensorBoards, the current experiment will be automatically added to your first TensorBoard.

You can then see a mapping between the current Experiment (the one whose Details page you're working from) and all TensorBoards, with the Experiment Status in relation to each TensorBoard, as well as the name and ID of each of your team's TensorBoards, and that TensorBoard's status.

Note that although you can technically add an Experiment that has not completed, or that has failed, to a TensorBoard, it will not be complete Adding to a given TensorBoard until that Experiment has completed.

You can create a TensorBoard with the following command:

gradient tensorboards create

Options:

Usage: gradient tensorboards create [OPTIONS]

    Create new tensorboard

Options:
  --experiment TEXT         IDs of experiments  [required]
  --image TEXT              Image
  --username TEXT           Username
  --password TEXT           Password
  --apiKey TEXT             API key to use this time only
  --optionsFile PATH        Path to YAML file with predefined options
  --createOptionsFile PATH  Generate template options file
  --help                    Show this message and exit.

Viewing a TensorBoard

If a TensorBoard has had Experiments added to it, simply click Launch to open the TensorBoard in order to view the resultant TensorBoard and experiment visualizations:

Here's a TensorBoard showing the Experiment that I added above, which is displaying a model from a simple MNIST sample experiment:

Adding and Removing Experiments

You can manually Add or Remove an experiment from a TensorBoard by clicking the green toggle under Experiment Status. In other words, if you wish to add an Experiment to a TensorBoard (thus including it on that TensorBoard), click the Experiment Status toggle to be active / green / to the right.To remove an Experiment from a TensorBoard, click the toggle to be inactive / gray / to the left.

As noted above, you can re-add an Experiment to a TensorBoard simply by toggling the Experiment Status back to active / green / to the right.

Note that because TensorBoards spin up on dedicated CPU-only machine instances, and Experiments must have completed checkpoints in order to be added to TensorBoards, the Create, Add, and Remove operations can take time.

And that's it! Stay tuned for further iteration as we continue to make TensorBoards an even more powerful feature.

Adding Experiments to a existing tensorboard

gradient tensorboards add-experiments

Options:

Usage: gradient tensorboards add-experiments [OPTIONS]

  Update tensorboard experiments

Options:
  --id TEXT                 Tensorboard ID  [required]
  --experiment TEXT         IDs of experiments  [required]
  --apiKey TEXT             API key to use this time only
  --optionsFile PATH        Path to YAML file with predefined options
  --createOptionsFile PATH  Generate template options file
  --help                    Show this message and exit.

Removing Experiments from a tensorboard

gradient tensorboards remove-experiments

Options:

Usage: gradient tensorboards remove-experiments [OPTIONS]

  Update tensorboard experiments

Options:
  --id TEXT                 Tensorboard ID  [required]
  --experiment TEXT         IDs of experiments  [required]
  --apiKey TEXT             API key to use this time only
  --optionsFile PATH        Path to YAML file with predefined options
  --createOptionsFile PATH  Generate template options file
  --help                    Show this message and exit.

Delete Tensorboard

You can delete a TensorBoard instance via the CLI, as follows.

To delete a TensorBoard, run the following command:

gradient tensorboards delete --id <tensorboard-id>

Options:

Usage: gradient tensorboards delete [OPTIONS]

  Delete tensorboard

Options:
  --id <tensorboard ID>     Tensorboard ID  [required]
  --apiKey TEXT             API key to use this time only
  --optionsFile PATH        Path to YAML file with predefined options
  --createOptionsFile PATH  Generate template options file
  --help                    Show this message and exit.

Learn More

You can also use TensorBoards via the CLI, as well as by .

scripting them within a TensorFlow script
Gradient Private Cluster
https://paperspace.github.io/gradient-cli/gradient.cli.html#gradient-tensorboards
Steps to Create a TensorBoard via the Web UI
Create TensorBoard modal
Experiment being added to a new TensorBoard
Launch a TensorBoard that's had Experiments added to it
Experiment visualized on a TensorBoard in Gradient
Removing an Experiment from a TensorBoard