Closed srujanreddyj closed 2 years ago
Hi there,
Google Colab limits ways, how environment variables can be set.
According to StackOverflow (https://stackoverflow.com/questions/49684495/is-it-possible-to-set-environment-variables-in-googles-colaboratory) the preferred way to set environment variable in Google Colab is:
import os os.environ["NEPTUNE_API_TOKEN"] = " "
Try to run this code before starting "!neptune tensorboard ..."
Hope this helps. Good Luck, Szymon
closing as it is stale issue.
Hello, I am running a pytorch code with tensorboard in google colab and I wanted to track experiments. So, I have created a project and given api token as (gave it two ways). None works.
But when I run this
!neptune tensorboard '/logdir' --project name
I keep this issue
neptune.exceptions.MissingApiToken: Missing API token. Use "NEPTUNE_API_TOKEN" environment variable or pass it as an argument to neptune.init. Open this link to get your API token https://ui.neptune.ai/get_my_api_token
Any guidance or help?? Thank you