{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/121","repository_url":"https://api.github.com/repos/tensorflow/tensor2tensor","labels_url":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/121/comments","events_url":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/121/events","html_url":"https://github.com/tensorflow/tensor2tensor/issues/121","id":241613353,"number":121,"title":"why the results of the evaluation are all zero?","user":{"login":"ZhenYangIACAS","id":13463269,"avatar_url":"https://avatars3.githubusercontent.com/u/13463269?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhenYangIACAS","html_url":"https://github.com/ZhenYangIACAS","followers_url":"https://api.github.com/users/ZhenYangIACAS/followers","following_url":"https://api.github.com/users/ZhenYangIACAS/following{/other_user}","gists_url":"https://api.github.com/users/ZhenYangIACAS/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhenYangIACAS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhenYangIACAS/subscriptions","organizations_url":"https://api.github.com/users/ZhenYangIACAS/orgs","repos_url":"https://api.github.com/users/ZhenYangIACAS/repos","events_url":"https://api.github.com/users/ZhenYangIACAS/events{/privacy}","received_events_url":"https://api.github.com/users/ZhenYangIACAS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-07-10T06:38:11Z","updated_at":"2017-07-13T00:58:58Z","closed_at":null,"body":"Why the results of the evaluation are all zero?\r\n\r\nINFO:tensorflow:Saving dict for global step 7724: global_step = 7724, loss = 0.0, metrics-wmt_ende_bpe32k/accuracy = 0.0, metrics-wmt_ende_bpe32k/accuracy_per_sequence = 0.0, metrics-wmt_ende_bpe32k/accuracy_top5 = 0.0, metrics-wmt_ende_bpe32k/approx_bleu_score = 0.0, metrics-wmt_ende_bpe32k/neg_log_perplexity = 0.0, metrics/accuracy = 0.0, metrics/accuracy_per_sequence = 0.0, metrics/accuracy_top5 = 0.0, metrics/approx_bleu_score = 0.0, metrics/neg_log_perplexity = 0.0\r\nINFO:tensorflow:Validation (step 8000): loss = 0.0, metrics-wmt_ende_bpe32k/accuracy_per_sequence = 0.0, global_step = 7724, metrics/neg_log_perplexity = 0.0, metrics-wmt_ende_bpe32k/accuracy = 0.0, metrics-wmt_ende_bpe32k/accuracy_top5 = 0.0, metrics-wmt_ende_bpe32k/neg_log_perplexity = 0.0, metrics/accuracy = 0.0, metrics/approx_bleu_score = 0.0, metrics-wmt_ende_bpe32k/approx_bleu_score = 0.0, metrics/accuracy_per_sequence = 0.0, metrics/accuracy_top5 = 0.0\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/comments/314939353","html_url":"https://github.com/tensorflow/tensor2tensor/issues/121#issuecomment-314939353","issue_url":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/121","id":314939353,"user":{"login":"ZhenYangIACAS","id":13463269,"avatar_url":"https://avatars3.githubusercontent.com/u/13463269?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhenYangIACAS","html_url":"https://github.com/ZhenYangIACAS","followers_url":"https://api.github.com/users/ZhenYangIACAS/followers","following_url":"https://api.github.com/users/ZhenYangIACAS/following{/other_user}","gists_url":"https://api.github.com/users/ZhenYangIACAS/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhenYangIACAS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhenYangIACAS/subscriptions","organizations_url":"https://api.github.com/users/ZhenYangIACAS/orgs","repos_url":"https://api.github.com/users/ZhenYangIACAS/repos","events_url":"https://api.github.com/users/ZhenYangIACAS/events{/privacy}","received_events_url":"https://api.github.com/users/ZhenYangIACAS/received_events","type":"User","site_admin":false},"created_at":"2017-07-13T00:58:58Z","updated_at":"2017-07-13T00:58:58Z","body":"@lukaszkaiser  I am trying the inspect.py, however, some bugs occurs:\r\nTraceback (most recent call last):\r\n  File \"inspect.py\", line 32, in <module>\r\n    from tensor2tensor.data_generators import text_encoder\r\n  File \"/home/user/anaconda2/lib/python2.7/site-packages/tensor2tensor/data_generators/text_encoder.py\", line 34, in <module>\r\n    from tensor2tensor.data_generators import tokenizer\r\n  File \"/home/user/anaconda2/lib/python2.7/site-packages/tensor2tensor/data_generators/tokenizer.py\", line 56, in <module>\r\n    import tensorflow as tf\r\n  File \"/home/user/anaconda2/lib/python2.7/site-packages/tensorflow/__init__.py\", line 24, in <module>\r\n    from tensorflow.python import *\r\n  File \"/home/user/anaconda2/lib/python2.7/site-packages/tensorflow/python/__init__.py\", line 63, in <module>\r\n    from tensorflow.python.framework.framework_lib import *\r\n  File \"/home/user/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/framework_lib.py\", line 75, in <module>\r\n    from tensorflow.python.framework.ops import Graph\r\n  File \"/home/user/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py\", line 40, in <module>\r\n    from tensorflow.python.framework import errors\r\n  File \"/home/user/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/errors.py\", line 22, in <module>\r\n    from tensorflow.python.framework import errors_impl as _impl\r\n  File \"/home/user/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/errors_impl.py\", line 27, in <module>\r\n    from tensorflow.python.util import compat\r\n  File \"/home/user/anaconda2/lib/python2.7/site-packages/tensorflow/python/util/compat.py\", line 43, in <module>\r\n    from tensorflow.python.util.all_util import remove_undocumented\r\n  File \"/home/user/anaconda2/lib/python2.7/site-packages/tensorflow/python/util/all_util.py\", line 24, in <module>\r\n    from tensorflow.python.util import tf_inspect as _tf_inspect\r\n  File \"/home/user/anaconda2/lib/python2.7/site-packages/tensorflow/python/util/tf_inspect.py\", line 20, in <module>\r\n    import inspect as _inspect\r\n  File \"/data/zhyang/tfNmt/tensor2tensor/inspect.py\", line 32, in <module>\r\n    from tensor2tensor.data_generators import text_encoder\r\nImportError: cannot import name text_encoder"}}
{"actor":{"display_login":"ZhenYangIACAS"}}