{"action":"closed","issue":{"url":"https://api.github.com/repos/tensorflow/models/issues/2312","repository_url":"https://api.github.com/repos/tensorflow/models","labels_url":"https://api.github.com/repos/tensorflow/models/issues/2312/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/models/issues/2312/comments","events_url":"https://api.github.com/repos/tensorflow/models/issues/2312/events","html_url":"https://github.com/tensorflow/models/issues/2312","id":254002284,"node_id":"MDU6SXNzdWUyNTQwMDIyODQ=","number":2312,"title":"InvalidArgumentError: indices[0] = 0 is not in [0, 0) + Caught OutOfRangeError. Stopping Training","user":{"login":"chansekar","id":30104112,"node_id":"MDQ6VXNlcjMwMTA0MTEy","avatar_url":"https://avatars1.githubusercontent.com/u/30104112?v=4","gravatar_id":"","url":"https://api.github.com/users/chansekar","html_url":"https://github.com/chansekar","followers_url":"https://api.github.com/users/chansekar/followers","following_url":"https://api.github.com/users/chansekar/following{/other_user}","gists_url":"https://api.github.com/users/chansekar/gists{/gist_id}","starred_url":"https://api.github.com/users/chansekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chansekar/subscriptions","organizations_url":"https://api.github.com/users/chansekar/orgs","repos_url":"https://api.github.com/users/chansekar/repos","events_url":"https://api.github.com/users/chansekar/events{/privacy}","received_events_url":"https://api.github.com/users/chansekar/received_events","type":"User","site_admin":false},"labels":[{"id":421482715,"node_id":"MDU6TGFiZWw0MjE0ODI3MTU=","url":"https://api.github.com/repos/tensorflow/models/labels/stat:community%20support","name":"stat:community support","color":"c2e0c6","default":false},{"id":473246506,"node_id":"MDU6TGFiZWw0NzMyNDY1MDY=","url":"https://api.github.com/repos/tensorflow/models/labels/type:support","name":"type:support","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-08-30T13:38:16Z","updated_at":"2018-10-27T01:46:04Z","closed_at":"2018-10-27T01:46:04Z","author_association":"NONE","body":"Hi Guys,\r\n\r\nWhen i try to train the model, i get the below error.\r\n\r\n[[Node: prefetch_queue_Dequeue = QueueDequeueV2[component_types=[DT_STRING, DT_STRING, DT_INT32, DT_INT32, DT_INT64, DT_INT32, DT_INT64, DT_INT32, DT_INT32, DT_STRING, DT_BOOL, DT_INT32, DT_FLOAT, DT_INT32, DT_INT32, DT_INT32, DT_INT32, DT_INT64, DT_FLOAT, DT_INT32, DT_BOOL, DT_FLOAT], timeout_ms=-1, _device=\"/job:localhost/replica:0/task:0/cpu:0\"](prefetch_queue)]]\r\nINFO:tensorflow:Caught OutOfRangeError. Stopping Training.\r\nINFO:tensorflow:Finished training! Saving model to disk.\r\nTraceback (most recent call last):\r\n  File \"object_detection/train.py\", line 198, in <module>\r\n    tf.app.run()\r\n  File \"/home/diji/.virtualenvs/d3/lib/python3.5/site-packages/tensorflow/python/platform/app.py\", line 48, in run\r\n    _sys.exit(main(_sys.argv[:1] + flags_passthrough))\r\n  File \"object_detection/train.py\", line 194, in main\r\n    worker_job_name, is_chief, FLAGS.train_dir)\r\n  File \"/home/diji/MySSDExp/models-master/object_detection/trainer.py\", line 296, in train\r\n    saver=saver)\r\n  File \"/home/diji/.virtualenvs/d3/lib/python3.5/site-packages/tensorflow/contrib/slim/python/slim/learning.py\", line 759, in train\r\n    sv.saver.save(sess, sv.save_path, global_step=sv.global_step)\r\n  File \"/usr/lib/python3.5/contextlib.py\", line 66, in __exit__\r\n    next(self.gen)\r\n  File \"/home/diji/.virtualenvs/d3/lib/python3.5/site-packages/tensorflow/python/training/supervisor.py\", line 964, in managed_session\r\n    self.stop(close_summary_writer=close_summary_writer)\r\n  File \"/home/diji/.virtualenvs/d3/lib/python3.5/site-packages/tensorflow/python/training/supervisor.py\", line 792, in stop\r\n    stop_grace_period_secs=self._stop_grace_secs)\r\n  File \"/home/diji/.virtualenvs/d3/lib/python3.5/site-packages/tensorflow/python/training/coordinator.py\", line 389, in join\r\n    six.reraise(*self._exc_info_to_raise)\r\n  File \"/home/diji/.virtualenvs/d3/lib/python3.5/site-packages/six.py\", line 686, in reraise\r\n    raise value\r\n  File \"/home/diji/.virtualenvs/d3/lib/python3.5/site-packages/tensorflow/python/training/queue_runner_impl.py\", line 238, in _run\r\n    enqueue_callable()\r\n  File \"/home/diji/.virtualenvs/d3/lib/python3.5/site-packages/tensorflow/python/client/session.py\", line 1063, in _single_operation_run\r\n    target_list_as_strings, status, None)\r\n  File \"/usr/lib/python3.5/contextlib.py\", line 66, in __exit__\r\n    next(self.gen)\r\n  File \"/home/diji/.virtualenvs/d3/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py\", line 466, in raise_exception_on_not_ok_status\r\n    pywrap_tensorflow.TF_GetCode(status))\r\ntensorflow.python.framework.errors_impl.InvalidArgumentError: indices[0] = 0 is not in [0, 0)\r\n\t [[Node: cond_2/RandomCropImage/PruneCompleteleyOutsideWindow/Gather/Gather_1 = Gather[Tindices=DT_INT64, Tparams=DT_INT64, validate_indices=true, _device=\"/job:localhost/replica:0/task:0/cpu:0\"](cond_2/RandomCropImage/PruneCompleteleyOutsideWindow/Gather/Gather_1/Switch:1, cond_2/RandomCropImage/PruneCompleteleyOutsideWindow/Reshape)]]\r\n\r\nI am not sure where i am going wrong, need help on it.\r\n\r\nRegards\r\nS.Chandrasekar\r\n"}}
{"actor":{"display_login":"wt-huang"}}