Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Problems encountered in tensorboard Visualization

Shulou Source: shulou.com Published: 2022-06-03 05:14:07 11月24日 Update

Due to the difference in TensorFlow version, the error of module object without a certain attribute is often reported. Record several error solutions encountered in the tensorboard visualization process as follows:

1. AttributeError: 'module' object has no attribute' histogram_summary'

Change histogram_summary to: tf.summary.histogram

2. AttributeError: 'module' object has no attribute' scalar_summary'

Change tf.scalar_summary to: tf.summary.scalar

3.AttributeError: 'module' object has no attribute' merge_all_summaries'

Change tf.merge_all_summaries () to: tf.summary.merge_all ()

Tags: Visualization objects properties differences schemes modules versions solutions processes errors reports problems Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Xiaomi macOS Shulou Tech Info OPPO Reno