You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Total params: 8,215,568
Trainable params: 8,215,568
Non-trainable params: 0
Traceback (most recent call last):
File "capsulenet-multi-gpu.py", line 122, in
plot_model(model, to_file=args.save_dir+'/model.png', show_shapes=True)
File "/usr/local/lib/python2.7/dist-packages/keras/utils/vis_utils.py", line 131, in plot_model
dot = model_to_dot(model, show_shapes, show_layer_names, rankdir)
File "/usr/local/lib/python2.7/dist-packages/keras/utils/vis_utils.py", line 52, in model_to_dot
_check_pydot()
File "/usr/local/lib/python2.7/dist-packages/keras/utils/vis_utils.py", line 27, in _check_pydot
raise ImportError('Failed to import pydot. You must install pydot'
ImportError: Failed to import pydot. You must install pydot and graphviz for pydotprint to work.
I've installed pydot and graphviz already, and my keras version is:
keras.version
'2.1.2'
Thanks!
Clock ZHONG
The text was updated successfully, but these errors were encountered:
See #7 and #25
Some resources can be found in https://github.com/keras-team/keras
I don't remember how I fixed this problem, but I believe you can find a solution by using Google or Baidu.
Hi, Mr. Guo,
I've found a problem when using the GPU version. The following is my steps:
python capsulenet-multi-gpu.py --gpus 2
I've installed pydot and graphviz already, and my keras version is:
Thanks!
Clock ZHONG
The text was updated successfully, but these errors were encountered: