tensorflow / tensorflow/tensorboard

A problem about graph tab and profile tab in tensorboard

Open
#3,388 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

core:frontend plugin:graph plugin:profile stat:awaiting tensorflower type:bug
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

Consider Stack Overflow for getting support using TensorBoard—they have
a larger community with better searchability:

https://stackoverflow.com/questions/tagged/tensorboard

Do not use this template for for setup, installation, or configuration
issues. Instead, use the “installation problem” issue template:

https://github.com/tensorflow/tensorboard/issues/new?template=installation_problem.md

To report a problem with TensorBoard itself, please fill out the
remainder of this template.

Environment information (required)

Chrome version 80.0.3987.132
tensorflow version 2.1.0
tensorboard version 2.1.0

## Issue description
I create a customized model, and when I use callback in model.fit function, I found the graph tap shows that failed normalizing names and there is no profile tab.
Could you help me solve this problem?
The code is shown below

afm_model = AFM(**pnn_params)
model = afm_model.model

check_path = './model_save/AFM/model.ckpt'

callback = [
            tf.keras.callbacks.TensorBoard(log_dir='./logs/AFM',histogram_freq=5000,
            write_graph=True, write_images=False,
            embeddings_freq=0, embeddings_layer_names=None,
            embeddings_metadata=None, embeddings_data=None, update_freq=500,profile_batch=10),
        tf.keras.callbacks.ModelCheckpoint(check_path,save_weights_only=True,verbose=1,save_freq=10000)
           ]

model.fit([Xi_train,Xv_train,y_train],y_train, validation_data = ([Xi_test,Xv_test,ids_test],ids_test), epochs=5, batch_size=pnn_params['batch_size'], callbacks = callback, shuffle=True)
屏幕快照 2020-03-18 09 34 03
屏幕快照 2020-03-18 09 35 59

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.