{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/models/issues/446","repository_url":"https://api.github.com/repos/tensorflow/models","labels_url":"https://api.github.com/repos/tensorflow/models/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/models/issues/446/comments","events_url":"https://api.github.com/repos/tensorflow/models/issues/446/events","html_url":"https://github.com/tensorflow/models/issues/446","id":179008404,"number":446,"title":"im2txt: error when runnung training script","user":{"login":"imaxpayne","id":22407456,"avatar_url":"https://avatars.githubusercontent.com/u/22407456?v=3","gravatar_id":"","url":"https://api.github.com/users/imaxpayne","html_url":"https://github.com/imaxpayne","followers_url":"https://api.github.com/users/imaxpayne/followers","following_url":"https://api.github.com/users/imaxpayne/following{/other_user}","gists_url":"https://api.github.com/users/imaxpayne/gists{/gist_id}","starred_url":"https://api.github.com/users/imaxpayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imaxpayne/subscriptions","organizations_url":"https://api.github.com/users/imaxpayne/orgs","repos_url":"https://api.github.com/users/imaxpayne/repos","events_url":"https://api.github.com/users/imaxpayne/events{/privacy}","received_events_url":"https://api.github.com/users/imaxpayne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-24T03:39:32Z","updated_at":"2016-09-26T18:36:05Z","closed_at":"2016-09-25T11:27:58Z","body":"## im2txt error in image_processing.py\r\nI was trying to train the im2txt model using Tensorflow that I just built from master branch,\r\n\r\nI downloaded all the data sets it needed but when I run the training script:\r\n\r\n`bazel-bin/im2txt/train \\\r\n  --input_file_pattern=\"${MSCOCO_DIR}/train-?????-of-00256\" \\\r\n  --inception_checkpoint_file=\"${INCEPTION_CHECKPOINT}\" \\\r\n  --train_dir=\"${MODEL_DIR}/train\" \\\r\n  --train_inception=false \\\r\n  --number_of_steps=1000000`\r\n\r\nit shows the following:\r\n\r\n> Traceback (most recent call last):\r\n>   File \"/home/rvl224/models/im2txt/bazel-bin/im2txt/train.runfiles/im2txt/im2txt/train.py\", line 111, in <module>\r\n>     tf.app.run()\r\n>   File \"/home/rvl224/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/app.py\", line 30, in run\r\n>     sys.exit(main(sys.argv[:1] + flags_passthrough))\r\n>   File \"/home/rvl224/models/im2txt/bazel-bin/im2txt/train.runfiles/im2txt/im2txt/train.py\", line 65, in main\r\n>     model.build()\r\n>   File \"/home/rvl224/models/im2txt/bazel-bin/im2txt/train.runfiles/im2txt/im2txt/show_and_tell_model.py\", line 358, in build\r\n>     self.build_inputs()\r\n>   File \"/home/rvl224/models/im2txt/bazel-bin/im2txt/train.runfiles/im2txt/im2txt/show_and_tell_model.py\", line 165, in build_inputs\r\n>     image = self.process_image(encoded_image, thread_id=thread_id)\r\n>   File \"/home/rvl224/models/im2txt/bazel-bin/im2txt/train.runfiles/im2txt/im2txt/show_and_tell_model.py\", line 119, in process_image\r\n>     image_format=self.config.image_format)\r\n>   File \"/home/rvl224/models/im2txt/bazel-bin/im2txt/train.runfiles/im2txt/im2txt/ops/image_processing.py\", line 114, in process_image\r\n>     method=tf.image.ResizeMethod.BILINEAR)\r\n> TypeError: resize_images() got an unexpected keyword argument 'new_height'\r\n> \r\n\r\nis it a problem related to the function `resize_images()` or I just done something wrong?\r\n\r\nthanks"},"comment":{"url":"https://api.github.com/repos/tensorflow/models/issues/comments/249657572","html_url":"https://github.com/tensorflow/models/issues/446#issuecomment-249657572","issue_url":"https://api.github.com/repos/tensorflow/models/issues/446","id":249657572,"user":{"login":"huanggengxin","id":19258348,"avatar_url":"https://avatars.githubusercontent.com/u/19258348?v=3","gravatar_id":"","url":"https://api.github.com/users/huanggengxin","html_url":"https://github.com/huanggengxin","followers_url":"https://api.github.com/users/huanggengxin/followers","following_url":"https://api.github.com/users/huanggengxin/following{/other_user}","gists_url":"https://api.github.com/users/huanggengxin/gists{/gist_id}","starred_url":"https://api.github.com/users/huanggengxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huanggengxin/subscriptions","organizations_url":"https://api.github.com/users/huanggengxin/orgs","repos_url":"https://api.github.com/users/huanggengxin/repos","events_url":"https://api.github.com/users/huanggengxin/events{/privacy}","received_events_url":"https://api.github.com/users/huanggengxin/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T18:36:05Z","updated_at":"2016-09-26T18:36:05Z","body":"I also meet the same error in this day.\r\nDo you have any resolution for this error?\r\nLooking for your help and thank you very much."}}
{"actor":{"display_login":"huanggengxin"}}