Open kelsey-sorrels opened 4 years ago
Got this working by replacing network
and network.Network
with functional
and functional.Functional
. Breaking change appears to be https://github.com/tensorflow/tensorflow/commit/bb15c97379f197a6a46ec1446d8fb0b292b860ba#diff-7c9eaab01e9c5c241737b86bcdcca7ba6fcac13759cca29c39b1b6231ddc66cd
Hi. Thanks. This works with additional change for Tensorflow-2.5.0 on Windows. layers = model.layers #_layers
in file: plot_model.py line 127
Calling
plot_model(...)
using tensorflow 2.3 or greater results in the error messageThe network module is no longer present, see https://github.com/tensorflow/tensorflow/tree/v2.3.1/tensorflow/python/keras/engine