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 = 'model-301.hdf5'
However, this gives an error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/moose/.local/lib/python2.7/site-packages/keras/utils/visualize_util.py", line 7, in <module> if not pydot.find_graphviz(): AttributeError: 'module' object has no attribute 'find_graphviz'
How can i fix this?
Note. The hdf5 and YAML file can be found on Github .
source share