tf.keras

WARNING:tensorflow:`write_grads` will be ignored in TensorFlow 2.0 for the `TensorBoard` Callback

白昼怎懂夜的黑 提交于 2020-12-10 00:19:08
问题 I am using the following lines of codes to visualise the gradients of an ANN model using tensorboard tensorboard_callback = tf.compat.v1.keras.callbacks.TensorBoard(log_dir='./Graph', histogram_freq=1, write_graph = True, write_grads =True, write_images = False) tensorboard_callback .set_model(model) %tensorboard --logdir ./Graph I received a warning message saying "WARNING:tensorflow: write_grads will be ignored in TensorFlow 2.0 for the TensorBoard Callback." I get the tensorboard output,

WARNING:tensorflow:`write_grads` will be ignored in TensorFlow 2.0 for the `TensorBoard` Callback

微笑、不失礼 提交于 2020-12-10 00:18:17
问题 I am using the following lines of codes to visualise the gradients of an ANN model using tensorboard tensorboard_callback = tf.compat.v1.keras.callbacks.TensorBoard(log_dir='./Graph', histogram_freq=1, write_graph = True, write_grads =True, write_images = False) tensorboard_callback .set_model(model) %tensorboard --logdir ./Graph I received a warning message saying "WARNING:tensorflow: write_grads will be ignored in TensorFlow 2.0 for the TensorBoard Callback." I get the tensorboard output,