{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/models/issues/3752","repository_url":"https://api.github.com/repos/tensorflow/models","labels_url":"https://api.github.com/repos/tensorflow/models/issues/3752/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/models/issues/3752/comments","events_url":"https://api.github.com/repos/tensorflow/models/issues/3752/events","html_url":"https://github.com/tensorflow/models/issues/3752","id":308588661,"number":3752,"title":"ValueError: Tried to convert 't' to a tensor and failed. Error: Argument must be  a dense tensor: range(0, 3) - got shape [3], but wanted [].","user":{"login":"Ashiqgiga","id":20164603,"avatar_url":"https://avatars3.githubusercontent.com/u/20164603?v=4","gravatar_id":"","url":"https://api.github.com/users/Ashiqgiga","html_url":"https://github.com/Ashiqgiga","followers_url":"https://api.github.com/users/Ashiqgiga/followers","following_url":"https://api.github.com/users/Ashiqgiga/following{/other_user}","gists_url":"https://api.github.com/users/Ashiqgiga/gists{/gist_id}","starred_url":"https://api.github.com/users/Ashiqgiga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ashiqgiga/subscriptions","organizations_url":"https://api.github.com/users/Ashiqgiga/orgs","repos_url":"https://api.github.com/users/Ashiqgiga/repos","events_url":"https://api.github.com/users/Ashiqgiga/events{/privacy}","received_events_url":"https://api.github.com/users/Ashiqgiga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-03-26T14:09:49Z","updated_at":"2018-03-28T22:19:08Z","closed_at":null,"author_association":"NONE","body":"### System information\r\n- **What is the top-level directory of the model you are using**: object_detection\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)**: Windows 7\r\n- **TensorFlow installed from (source or binary)**: \r\nbinary\r\n- **TensorFlow version (use command below)**: 1.6.0\r\n- **Bazel version (if compiling from source)**: No\r\n- **CUDA/cuDNN version**: No\r\n- **GPU model and memory**: No\r\n- **Exact command to reproduce**: python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_resnet_v2_atrous_coco_2018_01_28.config\r\n\r\nWhile running with the pre-trained object_detection every model with Anaconda python 3.6.4 below given error is shown with the new version Tensorflow 1.6.0\r\n\r\n`Traceback (most recent call last):\r\n  File \"train.py\", line 167, in <module>\r\n    tf.app.run()\r\n  File \"C:\\Users\\MAT\\Anaconda3\\lib\\site-packages\\tensorflow\\python\\platform\\app.\r\npy\", line 126, in run\r\n    _sys.exit(main(argv))\r\n  File \"train.py\", line 163, in main\r\n    worker_job_name, is_chief, FLAGS.train_dir)\r\n  File \"C:\\Users\\MAT\\models-master\\research\\object_detection\\trainer.py\", line 2\r\n55, in train\r\n    train_config.optimizer)\r\n  File \"C:\\Users\\MAT\\models-master\\research\\object_detection\\builders\\optimizer_\r\nbuilder.py\", line 50, in build\r\n    learning_rate = _create_learning_rate(config.learning_rate)\r\n  File \"C:\\Users\\MAT\\models-master\\research\\object_detection\\builders\\optimizer_\r\nbuilder.py\", line 109, in _create_learning_rate\r\n    learning_rate_sequence, config.warmup)\r\n  File \"C:\\Users\\MAT\\models-master\\research\\object_detection\\utils\\learning_sche\r\ndules.py\", line 169, in manual_stepping\r\n    [0] * num_boundaries))\r\n  File \"C:\\Users\\MAT\\Anaconda3\\lib\\site-packages\\tensorflow\\python\\ops\\array_ops\r\n.py\", line 2619, in where\r\n    return gen_math_ops._select(condition=condition, x=x, y=y, name=name)\r\n  File \"C:\\Users\\MAT\\Anaconda3\\lib\\site-packages\\tensorflow\\python\\ops\\gen_math_\r\nops.py\", line 4503, in _select\r\n    \"Select\", condition=condition, t=x, e=y, name=name)\r\n  File \"C:\\Users\\MAT\\Anaconda3\\lib\\site-packages\\tensorflow\\python\\framework\\op_\r\ndef_library.py\", line 528, in _apply_op_helper\r\n    (input_name, err))\r\nValueError: Tried to convert 't' to a tensor and failed. Error: Argument must be\r\n a dense tensor: range(0, 3) - got shape [3], but wanted [].`"},"comment":{"url":"https://api.github.com/repos/tensorflow/models/issues/comments/377056724","html_url":"https://github.com/tensorflow/models/issues/3752#issuecomment-377056724","issue_url":"https://api.github.com/repos/tensorflow/models/issues/3752","id":377056724,"user":{"login":"Ron-Junior","id":28907768,"avatar_url":"https://avatars3.githubusercontent.com/u/28907768?v=4","gravatar_id":"","url":"https://api.github.com/users/Ron-Junior","html_url":"https://github.com/Ron-Junior","followers_url":"https://api.github.com/users/Ron-Junior/followers","following_url":"https://api.github.com/users/Ron-Junior/following{/other_user}","gists_url":"https://api.github.com/users/Ron-Junior/gists{/gist_id}","starred_url":"https://api.github.com/users/Ron-Junior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ron-Junior/subscriptions","organizations_url":"https://api.github.com/users/Ron-Junior/orgs","repos_url":"https://api.github.com/users/Ron-Junior/repos","events_url":"https://api.github.com/users/Ron-Junior/events{/privacy}","received_events_url":"https://api.github.com/users/Ron-Junior/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T22:19:08Z","updated_at":"2018-03-28T22:19:08Z","author_association":"NONE","body":"I modified the file learning_schedules.py in path the anaconda. works for me"}}
{"actor":{"display_login":"Ron-Junior"}}