Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pydot import error? all the required packages are installed however #3

Closed
rmrf-sl4sh opened this issue Jun 28, 2021 · 0 comments
Closed

Comments

@rmrf-sl4sh
Copy link

rmrf-sl4sh commented Jun 28, 2021

=================================================================
Total params: 111,451
Trainable params: 111,451
Non-trainable params: 0


Traceback (most recent call last):
File "stock_prediction_deep_learning.py", line 93, in
train_LSTM_network(stock_prediction)
File "stock_prediction_deep_learning.py", line 36, in train_LSTM_network
model = lstm.create_model(x_train)
File "/root/stock-prediction-deep-neural-learning/stock_prediction_lstm.py", line 65, in create_model
show_layer_names=True)
File "/root/anaconda3/envs/py368/lib/python3.6/site-packages/tensorflow_core/python/keras/utils/vis_utils.py", line 283, in plot_model
dpi=dpi)
File "/root/anaconda3/envs/py368/lib/python3.6/site-packages/tensorflow_core/python/keras/utils/vis_utils.py", line 110, in model_to_dot
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.

edit: nevermind I solved the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant