tensorflow / tensorboard-plugin-example

Apache License 2.0
135 stars 59 forks source link

Cards in the regex portion of the dashboard lack greetings. #11

Closed chihuahua closed 7 years ago

chihuahua commented 7 years ago

Greetings are missing from cards within the section of cards filtered by regex. To repro, start a :greeter_tensorboard after running the demo.

fqize9fcgmz

I see a corresponding server-side error.

File "/usr/local/dinosaur/home/agent007/Desktop/tensorboard-plugin-example/greeter_plugin/greeter_plugin.py", line 123, in greetings_route tensor_events = self._multiplexer.Tensors(run, tag) File "/usr/local/dinosaur/home/agent007/.cache/bazel/_bazel_agent007/350f2b316dfeb5d30bad52efe76b4baa/external/org_tensorflow_tensorboard/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 358, in Tensors accumulator = self.GetAccumulator(run) File "/usr/local/dinosaur/home/agent007/.cache/bazel/_bazel_agent007/350f2b316dfeb5d30bad52efe76b4baa/external/org_tensorflow_tensorboard/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 434, in GetAccumulator return self._accumulators[run] KeyError: None

and a 500 error on the data/plugin/greeter/greetings endpoint. It seems like the run and tag information is missing from the URL GET parameters for that endpoint.

For instance, the URL of a valid request looks like /data/plugin/greeter/greetings?run=steven_universe&tag=greetings, while the errant requests lack GET parameters entirely.