{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/models/issues/4782","repository_url":"https://api.github.com/repos/tensorflow/models","labels_url":"https://api.github.com/repos/tensorflow/models/issues/4782/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/models/issues/4782/comments","events_url":"https://api.github.com/repos/tensorflow/models/issues/4782/events","html_url":"https://github.com/tensorflow/models/issues/4782","id":341556691,"node_id":"MDU6SXNzdWUzNDE1NTY2OTE=","number":4782,"title":"model_main.py - invalid syntax","user":{"login":"lukaszs-appdate","id":2351911,"node_id":"MDQ6VXNlcjIzNTE5MTE=","avatar_url":"https://avatars2.githubusercontent.com/u/2351911?v=4","gravatar_id":"","url":"https://api.github.com/users/lukaszs-appdate","html_url":"https://github.com/lukaszs-appdate","followers_url":"https://api.github.com/users/lukaszs-appdate/followers","following_url":"https://api.github.com/users/lukaszs-appdate/following{/other_user}","gists_url":"https://api.github.com/users/lukaszs-appdate/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaszs-appdate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaszs-appdate/subscriptions","organizations_url":"https://api.github.com/users/lukaszs-appdate/orgs","repos_url":"https://api.github.com/users/lukaszs-appdate/repos","events_url":"https://api.github.com/users/lukaszs-appdate/events{/privacy}","received_events_url":"https://api.github.com/users/lukaszs-appdate/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pkulzc","id":35853368,"node_id":"MDQ6VXNlcjM1ODUzMzY4","avatar_url":"https://avatars3.githubusercontent.com/u/35853368?v=4","gravatar_id":"","url":"https://api.github.com/users/pkulzc","html_url":"https://github.com/pkulzc","followers_url":"https://api.github.com/users/pkulzc/followers","following_url":"https://api.github.com/users/pkulzc/following{/other_user}","gists_url":"https://api.github.com/users/pkulzc/gists{/gist_id}","starred_url":"https://api.github.com/users/pkulzc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkulzc/subscriptions","organizations_url":"https://api.github.com/users/pkulzc/orgs","repos_url":"https://api.github.com/users/pkulzc/repos","events_url":"https://api.github.com/users/pkulzc/events{/privacy}","received_events_url":"https://api.github.com/users/pkulzc/received_events","type":"User","site_admin":false},"assignees":[{"login":"pkulzc","id":35853368,"node_id":"MDQ6VXNlcjM1ODUzMzY4","avatar_url":"https://avatars3.githubusercontent.com/u/35853368?v=4","gravatar_id":"","url":"https://api.github.com/users/pkulzc","html_url":"https://github.com/pkulzc","followers_url":"https://api.github.com/users/pkulzc/followers","following_url":"https://api.github.com/users/pkulzc/following{/other_user}","gists_url":"https://api.github.com/users/pkulzc/gists{/gist_id}","starred_url":"https://api.github.com/users/pkulzc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkulzc/subscriptions","organizations_url":"https://api.github.com/users/pkulzc/orgs","repos_url":"https://api.github.com/users/pkulzc/repos","events_url":"https://api.github.com/users/pkulzc/events{/privacy}","received_events_url":"https://api.github.com/users/pkulzc/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-07-16T15:02:51Z","updated_at":"2018-07-20T02:49:04Z","closed_at":null,"author_association":"NONE","body":"### System information\r\n- **What is the top-level directory of the model you are using**: tensorflow/models/research\r\n- **Have I written custom code (as opposed to using a stock example script provided in TensorFlow)**: NO\r\n- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**:Ubuntu 16.04.3 LTS\r\n- **TensorFlow installed from (source or binary)**:pip install tensorflow-gpu\r\n- **TensorFlow version (use command below)**:v1.9.0-0-g25c197e023 1.9.0\r\n- **Bazel version (if compiling from source)**:none\r\n- **CUDA/cuDNN version**: cuda 9.0 cudnn 7.1\r\n- **GPU model and memory**: tesla v100\r\n- **Exact command to reproduce**: see bug report\r\n\r\n### Describe the problem\r\nNot able to run object detection training locally. Did all steps in https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md (tests are passing), followed https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_pets.md (I copied data to ~/gcs/data instead of gs bucket), got stuck on trying to run training and eval locally.\r\n\r\n### Source code / logs\r\n$ python object_detection/model_main.py --pipeline_config_path=~/gcs/data/faster_rcnn_resnet101_pets.config --model_dir=~/gcs/data/ --num_train_steps=50000 --num_eval_steps=2000 --alsologtostderr\r\n/home/paperspace/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.\r\n  from ._conv import register_converters as _register_converters\r\nTraceback (most recent call last):\r\n  File \"object_detection/model_main.py\", line 26, in <module>\r\n    from object_detection import model_lib\r\n  File \"/home/paperspace/tensorflow/models/research/object_detection/model_lib.py\", line 26, in <module>\r\n    from object_detection import eval_util\r\n  File \"/home/paperspace/tensorflow/models/research/object_detection/eval_util.py\", line 28, in <module>\r\n    from object_detection.metrics import coco_evaluation\r\n  File \"/home/paperspace/tensorflow/models/research/object_detection/metrics/coco_evaluation.py\", line 21, in <module>\r\n    from object_detection.utils import object_detection_evaluation\r\n  File \"/home/paperspace/tensorflow/models/research/object_detection/utils/object_detection_evaluation.py\", line 842\r\n    print 'Scores and tpfp per class label: {}'.format(class_index)\r\n                                              ^\r\nSyntaxError: invalid syntax\r\n\r\n------------------------\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/models/issues/comments/406473260","html_url":"https://github.com/tensorflow/models/issues/4782#issuecomment-406473260","issue_url":"https://api.github.com/repos/tensorflow/models/issues/4782","id":406473260,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjQ3MzI2MA==","user":{"login":"cosmojiang","id":17624299,"node_id":"MDQ6VXNlcjE3NjI0Mjk5","avatar_url":"https://avatars3.githubusercontent.com/u/17624299?v=4","gravatar_id":"","url":"https://api.github.com/users/cosmojiang","html_url":"https://github.com/cosmojiang","followers_url":"https://api.github.com/users/cosmojiang/followers","following_url":"https://api.github.com/users/cosmojiang/following{/other_user}","gists_url":"https://api.github.com/users/cosmojiang/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmojiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmojiang/subscriptions","organizations_url":"https://api.github.com/users/cosmojiang/orgs","repos_url":"https://api.github.com/users/cosmojiang/repos","events_url":"https://api.github.com/users/cosmojiang/events{/privacy}","received_events_url":"https://api.github.com/users/cosmojiang/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T02:49:04Z","updated_at":"2018-07-20T02:49:04Z","author_association":"NONE","body":"@calebh try my revisions on the code and see if they help you. [See it here](https://github.com/cosmojiang/aia/blob/master/Tensorflow/Tips%20for%20installation%20of%20Tensorflow%20models.md)"}}
{"actor":{"display_login":"cosmojiang"}}