[go: nahoru, domu]

Skip to content

Tags: tensorflow/tensorboard

Tags

2.17.0

Toggle 2.17.0's commit message
TensorBoard 2.17.0

2.16.2

Toggle 2.16.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adjust demo scripts to be Keras 3 compatible (#6761)

This adjusts *_demo.py files to work with Keras 3.

The hparams_demo is fully backward compatible with Keras 2 and forward
compatible with Keras 3.

Unfortunately the graphs_demo is not backward compatible with Keras 2.
Users attempting to run it with Keras 2 will get the following error:

```
  File "/usr/local/google/home/bdubois/.cache/bazel/_bazel_bdubois/079646a57be11faea0b2bfefccb2a81a/execroot/org_tensorflow_tensorboard/bazel-out/k8-fastbuild/bin/tensorboard/plugins/graph/graphs_demo.runfiles/org_tensorflow_tensorboard/tensorboard/plugins/graph/graphs_demo.py", line 128, in profile
    tf.summary.trace_on(profiler=True, profiler_outdir=logdir)
TypeError: trace_on() got an unexpected keyword argument 'profiler_outdir'
```

Amazingly, though, the graph that the demo generates with Keras 3 can be
successfully loaded in the Graph dashboard. This makes me optimistic to
get the Graph plugin fully Keras 3 compatible after addressing the
user-reported error in #6686.

Old Keras 2 Graph: 

![image](https://github.com/tensorflow/tensorboard/assets/17152369/b8745739-ac06-4171-a7bc-c97135b2dec7)
New Keras 3 Graph:

![image](https://github.com/tensorflow/tensorboard/assets/17152369/04dcaf14-3464-47dc-b4a5-373cccd8370b)

2.16.1

Toggle 2.16.1's commit message
TensorBoard 2.16.1

2.16.0

Toggle 2.16.0's commit message
TensorBoard 2.16.0

2.15.2

Toggle 2.15.2's commit message
TensorBoard 2.15.2

2.15.1

Toggle 2.15.1's commit message
TensorBoard 2.15.1

data-server-v0.7.2

Toggle data-server-v0.7.2's commit message
tensorboard-data-server 0.7.2

2.15.0

Toggle 2.15.0's commit message
TensorBoard 2.15.0

2.14.1

Toggle 2.14.1's commit message
TensorBoard 2.14.0

2.14.0

Toggle 2.14.0's commit message
TensorBoard 2.14.0