You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No action items identified. Please copy ALL of the above output,
including the lines containing only backticks, into your GitHub issue
or comment. Be sure to redact any sensitive information.
Issue description
I am trying to plot the weights of my network and illustrate it's distribution, histogram and show a heatmap of the weight over time to be able to validate some aspects of my network; however, I am getting issues displaying the data in Tensorboard tensorboard --logdir=test --load_fast=false (without the load_fast=false I would not anything at all) shows the following errors when you navigate to Histogram and Distribution tabs, the Image tabs does not show anything.
Whenever I try to open the Distribution tab I get the following error:
E1115 03:31:15.958985 140704193963584 _internal.py:187] Error on request:
Traceback (most recent call last):
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/werkzeug/serving.py", line 364, in run_wsgi
execute(self.server.app)
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/werkzeug/serving.py", line 325, in execute
application_iter = app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/application.py", line 528, in __call__
return self._app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/application.py", line 569, in wrapper
return wsgi_app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/security_validator.py", line 91, in __call__
return self._application(environ, start_response_proxy)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/path_prefix.py", line 68, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/experiment_id.py", line 73, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/empty_path_redirect.py", line 43, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/client_feature_flags.py", line 55, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/auth_context_middleware.py", line 38, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/application.py", line 551, in _route_request
return self.exact_routes[clean_path](environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 188, in application
resp = f(*args[:-2] + (request,))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/distribution/distributions_plugin.py", line 114, in distributions_route
(body, mime_type) = self.distributions_impl(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/distribution/distributions_plugin.py", line 87, in distributions_impl
[self._compress(histogram) for histogram in histograms],
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/distribution/distributions_plugin.py", line 87, in <listcomp>
[self._compress(histogram) for histogram in histograms],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/distribution/distributions_plugin.py", line 93, in _compress
converted_buckets = compressor.compress_histogram(buckets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/distribution/compressor.py", line 122, in compress_histogram
counts = buckets[:, 2]
^^^^^^^^^^^^^
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
Whenever I try to open the Histogram tab I get the following error:
E1115 03:32:28.110896 139718423467584 _internal.py:187] Error on request:
Traceback (most recent call last):
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/werkzeug/serving.py", line 364, in run_wsgi
execute(self.server.app)
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/werkzeug/serving.py", line 325, in execute
application_iter = app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/application.py", line 528, in __call__
return self._app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/application.py", line 569, in wrapper
return wsgi_app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/security_validator.py", line 91, in __call__
return self._application(environ, start_response_proxy)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/path_prefix.py", line 68, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/experiment_id.py", line 73, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/empty_path_redirect.py", line 43, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/client_feature_flags.py", line 55, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/auth_context_middleware.py", line 38, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/application.py", line 551, in _route_request
return self.exact_routes[clean_path](environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 188, in application
resp = f(*args[:-2] + (request,))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/histogram/histograms_plugin.py", line 146, in histograms_route
return http_util.Respond(request, body, mime_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/http_util.py", line 150, in Respond
json_util.Cleanse(content, encoding), ensure_ascii=not charset_match
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/json_util.py", line 64, in Cleanse
return [Cleanse(i, encoding) for i in obj]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/json_util.py", line 64, in <listcomp>
return [Cleanse(i, encoding) for i in obj]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/json_util.py", line 64, in Cleanse
return [Cleanse(i, encoding) for i in obj]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/json_util.py", line 64, in <listcomp>
return [Cleanse(i, encoding) for i in obj]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/json_util.py", line 64, in Cleanse
return [Cleanse(i, encoding) for i in obj]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/json_util.py", line 64, in <listcomp>
return [Cleanse(i, encoding) for i in obj]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/json_util.py", line 62, in Cleanse
return obj.decode(encoding)
^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte
and after much longer I get:
E1115 03:39:08.982144 139925135554112 _internal.py:187] Error on request:
Traceback (most recent call last):
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/werkzeug/serving.py", line 364, in run_wsgi
execute(self.server.app)
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/werkzeug/serving.py", line 325, in execute
application_iter = app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/application.py", line 528, in __call__
return self._app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/application.py", line 569, in wrapper
return wsgi_app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/security_validator.py", line 91, in __call__
return self._application(environ, start_response_proxy)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/path_prefix.py", line 68, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/experiment_id.py", line 73, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/empty_path_redirect.py", line 43, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/client_feature_flags.py", line 55, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/auth_context_middleware.py", line 38, in __call__
return self._application(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/backend/application.py", line 551, in _route_request
return self.exact_routes[clean_path](environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 188, in application
resp = f(*args[:-2] + (request,))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/metrics/metrics_plugin.py", line 393, in _serve_time_series
response = self._time_series_impl(ctx, experiment, series_requests)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/metrics/metrics_plugin.py", line 407, in _time_series_impl
responses = [
^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/metrics/metrics_plugin.py", line 408, in <listcomp>
self._get_time_series(ctx, experiment, request)
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/metrics/metrics_plugin.py", line 479, in _get_time_series
run_to_series = self._get_run_to_histogram_series(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/metrics/metrics_plugin.py", line 564, in _get_run_to_histogram_series
values = [
^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/metrics/metrics_plugin.py", line 568, in <listcomp>
"bins": self._format_histogram_datum_bins(datum),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marius/miniconda3/envs/APECS/lib/python3.11/site-packages/tensorboard/plugins/metrics/metrics_plugin.py", line 537, in _format_histogram_datum_bins
bins = [{"min": x[0], "max": x[1], "count": x[2]} for x in numpy_list]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'float' object is not iterable
When I try to open the Images tab nothing shows up at all.
The text was updated successfully, but these errors were encountered:
Environment information (required)
Using Windows 11 Pro Version 10.0.22631 Build 22631 running on WSL2 Ubuntu 22.04.05 with Python 3.11
Diagnostics
Diagnostics output
Next steps
No action items identified. Please copy ALL of the above output,
including the lines containing only backticks, into your GitHub issue
or comment. Be sure to redact any sensitive information.
Issue description
I am trying to plot the weights of my network and illustrate it's distribution, histogram and show a heatmap of the weight over time to be able to validate some aspects of my network; however, I am getting issues displaying the data in Tensorboard
tensorboard --logdir=test --load_fast=false
(without theload_fast=false
I would not anything at all) shows the following errors when you navigate to Histogram and Distribution tabs, the Image tabs does not show anything.Whenever I try to open the Distribution tab I get the following error:
Whenever I try to open the Histogram tab I get the following error:
and after much longer I get:
When I try to open the Images tab nothing shows up at all.
The text was updated successfully, but these errors were encountered: