Launch TensorBoard in Q Blocks instance

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:

  1. 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

Replace EXTRA_PORT with the Port number copied in last step

  1. Now head over to your browser and access your TensorBoard running at the following URL:

http://HOST_URL:EXTRA_PORT

For example:

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

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: support@qblocks.cloud

Last updated