-
Notifications
You must be signed in to change notification settings - Fork 110
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 in battle_city.py #5
Comments
The issue seems to be that the code is built against tensorflow v1. If you are using Tensorflow V2, you'll get this error. Apparently Tensorflow has a tool for upgrading old Tensorflow code but I'm having trouble running the tool. Tool details can be found at https://www.tensorflow.org/guide/upgrade . Let me know if you come right with the tool as I'd love to get it working on my side. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "C:/Users/User/Downloads/Compressed/AirGesture-master/battle_city.py", line 12, in
tf.flags.DEFINE_integer("width", 640, "Screen width")
AttributeError: module 'tensorflow' has no attribute 'flags'
Need helps....asap !
The text was updated successfully, but these errors were encountered: