from keras.utils.vis_utils import plot_model
tf.keras.utils.plot_model(
model, to_file='model.png', show_shapes=False, show_dtype=False,
show_layer_names=True, rankdir='TB', expand_nested=False, dpi=96
)
“ImportError: cannot import name ‘plot_model‘ from ‘keras.utils‘
最新推荐文章于 2024-05-05 16:22:33 发布