AttributeError: module 'tensorboard.summary._tf.summary' has no attribute 'FileWriter'
时间: 2023-10-16 10:08:37 浏览: 90
FileWriter
This error occurs when trying to use the `FileWriter` class from the `tensorboard.summary._tf.summary` module, but it is not found. This is likely because it has been removed or renamed in a newer version of TensorBoard.
To fix this error, you can try updating TensorBoard to the latest version or using a different class or module that provides similar functionality. Alternatively, you can try importing the `FileWriter` class from a different module, such as `tensorboard.summary.v1.summary.FileWriter`.
阅读全文