Closed brianadit24 closed 2 years ago
how do you run tensorboard?
how do you run tensorboard?
@erogol it's just like this:
tensorboard --logdir fast_pitch_ljspeech-March-08-2022_12+11PM-c63bb481/
how do you run tensorboard?
@erogol it's just like this:
tensorboard --logdir fast_pitch_ljspeech-March-08-2022_12+11PM-c63bb481/
@erogol but error appears after opening the Image and Audio tab on tensorboard dashboard.
E0321 12:11:56.323641 140609679509248 _internal.py:225] Error on request:
Traceback (most recent call last):
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/werkzeug/serving.py", line 324, in run_wsgi
execute(self.server.app)
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/werkzeug/serving.py", line 313, in execute
application_iter = app(environ, start_response)
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/backend/application.py", line 563, in __call__
return self._app(environ, start_response)
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/backend/application.py", line 155, in wrapper
return wsgi_app(*args)
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/backend/security_validator.py", line 82, in __call__
return self._application(environ, start_response_proxy)
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/backend/path_prefix.py", line 71, in __call__
return self._application(environ, start_response)
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/backend/experiment_id.py", line 76, in __call__
return self._application(environ, start_response)
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/backend/empty_path_redirect.py", line 47, in __call__
return self._application(environ, start_response)
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/backend/application.py", line 586, in _route_request
return self.exact_routes[clean_path](environ, start_response)
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/werkzeug/wrappers/request.py", line 206, in application
resp = f(*args[:-2] + (request,))
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/plugins/image/images_plugin.py", line 165, in _serve_image_metadata
experiment, run, tag, sample
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/plugins/image/images_plugin.py", line 197, in _image_response_for_run
run_tag_filter=provider.RunTagFilter(runs=[run], tags=[tag]),
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/backend/event_processing/data_provider.py", line 302, in read_blob_sequences
experiment_id, plugin_name, run, tag, event
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/backend/event_processing/data_provider.py", line 417, in _convert_blob_sequence_event
for idx in range(num_blobs)
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/backend/event_processing/data_provider.py", line 417, in <genexpr>
for idx in range(num_blobs)
File "/home/brian.hermansyah/.local/lib/python3.6/site-packages/tensorboard/backend/event_processing/data_provider.py", line 364, in _encode_blob_key
return six.ensure_str(encoded).rstrip("=")
AttributeError: module 'six' has no attribute 'ensure_str'
Sorry but no idea. I am able to use TB without issues and cannot really reproduce your issue.
It is maybe better to upstream it to the TB repo as it is not really relevant with 🐸TTS.
AttributeError: module 'six' has no attribute 'ensure_str'
https://stackoverflow.com/questions/67063538/module-six-has-no-attribute-ensure-text
Try updating six:
python3 -m pip install --upgrade six
I close this one as it is not related to 🐸TTS directly.
But feel free to continue the discussion.
🐛 Description
I'm running training based on the recipe provided in the repository, but I'm having trouble showing the sample spectogram image generated during training and the sample audio on the tensorboard.
Log Error
To Reproduce
Training FastPitch using this config:
Expected behavior
Image and Audio can appear on tensorboard.
Environment
conda
,pip
, source): pipAdditional context