Tensorboard comes pre-installed in the Q Blocks instances that are launched with Tensorflow based AI Images.

But if you have launched a Q Blocks instance with a different AI image other than Tensorflow based then you can simply install Tensorboard with the following command:

pip install tensorboard

Once you have launched the instance and Tensorboard is available in it, you can follow the next steps to get started with using it:

  1. Click on the "More info" button for your instance on the Instances page in your Dashboard.

  2. Copy the Extra Port and Host URL as shown in the image:

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/8f9481cb-0a00-41f5-bc60-1c623380ef75/Copy_extra_port_and_host_url.png

  3. Now, access your instance via Terminal or Jupyter Lab and run the following command in your instance to launch Tensorboard:

    tensorboard --logdir LOG_FOLDER --host=0.0.0.0 --port EXTRA_PORT
    
  4. Now head over to your browser and access your TensorBoard running at the following URL:

    http://HOST_URL:EXTRA_PORT
    

    For example:

    <aside> 💡 If we ran TensorBoard application in our instance with information provided in the above image then we would see it running at the following URL: http://jus.qblocks.cloud:56329

    </aside>

    This should help you get started with running applications like TensorBoard that needs access via browser in your instance.

    If you still face issues setting it up then don't hesitate to reach out to us at: [[email protected]](mailto:[email protected]?subject=Unable%20to%20launch%20TensorBoard)