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

1、Q:ImportError: No module named visualize_util

A:自从2017年之后,visualize_util 变成vis_utils, 并且plot函数重新命名成plot_model.

down vote accepted

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.

猜你喜欢

转载自blog.csdn.net/weixin_38208741/article/details/80489068