-
Notifications
You must be signed in to change notification settings - Fork 45.7k
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
python3 compatibility issue #5453
Conversation
Fixed python3 compatibility issue tensorflow#4780
@@ -410,8 +411,9 @@ def tpu_scaffold(): | |||
eval_dict) | |||
|
|||
# Eval metrics on a single example. | |||
category_index_values = category_index.values() if sys.version_info[0] < 3 elses list(category_index.values()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently throws a syntax error:
Change elses
to else
`elses` -> `else`
@rob-white Thanks for the reminder! the typo is fixed:) |
Two other Python 3 issues in object_detection... flake8 testing of https://github.com/tensorflow/models on Python 3.7.1 $ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
5 similar comments
Two other Python 3 issues in object_detection... flake8 testing of https://github.com/tensorflow/models on Python 3.7.1 $ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
Two other Python 3 issues in object_detection... flake8 testing of https://github.com/tensorflow/models on Python 3.7.1 $ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
Two other Python 3 issues in object_detection... flake8 testing of https://github.com/tensorflow/models on Python 3.7.1 $ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
Two other Python 3 issues in object_detection... flake8 testing of https://github.com/tensorflow/models on Python 3.7.1 $ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
Two other Python 3 issues in object_detection... flake8 testing of https://github.com/tensorflow/models on Python 3.7.1 $ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
Fixed |
Fixed python3 compatibility issue #4780