1. 程式人生 > >ImportError: No module named 'keras.utils.visualize_util'

ImportError: No module named 'keras.utils.visualize_util'

You will have to either fix the code manually, or downgrade Keras.

By looking at the commit history of that module, you can see that it was renamed on February 28, 2017 from visualize_util to vis_utils. The plot function was also renamed to plot_model.