MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

Tensorboard not working following the documentation.

Open fionnmk opened this issue 3 years ago • 2 comments

Following this documentation here.

https://docs.microsoft.com/en-us/azure/machine-learning/how-to-monitor-tensorboard

I have followed all the steps exactly as documented. But whenever I run tb.start() I do get an endpoint URL, but it always gives me a "502 Bad Gateway" error.

I see a similar issue was raised here.

#920

Although the answer wasn't helpful as it just pointed back to the documentation which I was already trying, and failing to get working

fionnmk avatar Dec 17 '21 09:12 fionnmk

any update?

Rico2000 avatar Mar 26 '22 12:03 Rico2000

#1623 #920 Ran into these issues as well, I noticed when running tensorboard from the terminal (Using the Azureml - 3.8 Kernel) that I got a version mismatch where Tensorboard requires a google-auth version below 2 and above 1.6.3:

raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (google-auth 2.6.6 (/anaconda/envs/azureml_py38/lib/python3.8/site-packages), Requirement.parse('google-auth<2,>=1.6.3'), {'tensorboard'})

I was able to fix this by running

pip install google-auth==1.30

In the terminal.

Afterwards, the URL returned by tb.start() worked correctly for me.

sweco-nlridc avatar Aug 08 '22 09:08 sweco-nlridc