我不明白这是给我的错误‘顺序’对象没有属性‘_get_分发_策略’。# Create a TensorBoard instance with the path to the logs directory super(TensorBoard, self).set_model(model)
File "C:\Us
:param model: the target model which should have the input tensor, the target tensor and the loss tensor:param loss_fn: None if using original loss of the model. """
self.model = modelself.input_tensor = model.in
\Python\Python35\lib\site-packages\tensorboard\plugins\audio\summary_v2.py", line 30, in <module>from tensorboard.compat import tf2 as tf
File "C:\Users\Riley\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorboard\compat\__init__.py", l