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

error while running disguiseNet.py #1

Open
astha99 opened this issue Jul 13, 2020 · 2 comments
Open

error while running disguiseNet.py #1

astha99 opened this issue Jul 13, 2020 · 2 comments

Comments

@astha99
Copy link

astha99 commented Jul 13, 2020

Hi, I'm really new to deep learning. While running disguiseNet.py in python, I keep getting the error
File "disguiseNet.py", line 97
print vgg_model.summary()
^
SyntaxError: invalid syntax
I even tried running it in Jupyter Notebook in windows but it shows the same error. Any help will be appreciated.

@pvskand
Copy link
Owner

pvskand commented Jul 13, 2020

Hello,
I think the problem is the code base runs with Python 2.7 and you seem to have Python 3 and above. I believe installing python 2.7 shouldn't raise this error.

@astha99
Copy link
Author

astha99 commented Jul 15, 2020

I tried executing the code with python 2.7 but it says Keras requires tensorflow 2.2 or higher. I guess Tensorflow 2.2 or higher is not compatible with python 2.7. Please let me know if I'm wrong and what can be done.

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

2 participants