> 135 dot = model_to_dot(model, show_shapes, show_layer_names, rankdir)ġ36 _, extension = os.path.splitext(to_file) ~/anaconda2/envs/p圓5/lib/python3.5/site-packages/keras/utils/vis_utils.py in plot_model(model, to_file, show_shapes, show_layer_names, rankdir) > 41 plot_model(current_NN.model, to_file=run_folder + 'models/model.png', show_shapes = True) ImportError Traceback (most recent call last)ģ9 #copy the config file to the run folderĤ0 copyfile('./config.py', run_folder + 'config.py') ~/anaconda2/envs/p圓5/lib/python3.5/site-packages/keras/utils/vis_utils.py in _check_pydot()Ģ6 # to check the pydot/graphviz installation.ġ882 '"" not found in path.'.format( > 1289 raise child_exception_type(errno_num, err_msg)įileNotFoundError: No such file or directory: 'dot'ĭuring handling of the above exception, another exception occurred:Įxception Traceback (most recent call last)
~/anaconda2/envs/p圓5/lib/python3.5/subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, start_new_session)ġ288 err_msg += ': ' + repr(orig_executable) > 676 restore_signals, start_new_session) ~/anaconda2/envs/p圓5/lib/python3.5/subprocess.py in init(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds) > 1878 stderr=subprocess.PIPE, stdout=subprocess.PIPE)
~/anaconda2/envs/p圓5/lib/python3.5/site-packages/pydot.py in create(self, prog, format) Thanks in advance for your help.įileNotFoundError Traceback (most recent call last) Both pydot and graphviz are installed in the proper environment. Trying to run the second block in run.ipynb (start learning process) but I get the following error.