How can a neural network architecture be visualized with Keras?

后端 未结 2 681
栀梦
栀梦 2021-02-15 14:16

I tried the following:

#!/usr/bin/env python

import keras
from keras.models import model_from_yaml

model_file_path = \'model-301.yaml\'
weights_file_path = \'m         


        
2条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-15 14:45

    The problem is also referenced on the issues page of the keras project. You need to install a version of pydot <= 1.1.0 because the function find_graphviz was removed in version 1.2.0. Alternatively you could install pydot-ng instead, which is recommended by the keras developers.

提交回复
热议问题