{"action":"created","issue":{"url":"https://api.github.com/repos/tflearn/tflearn/issues/818","repository_url":"https://api.github.com/repos/tflearn/tflearn","labels_url":"https://api.github.com/repos/tflearn/tflearn/issues/818/labels{/name}","comments_url":"https://api.github.com/repos/tflearn/tflearn/issues/818/comments","events_url":"https://api.github.com/repos/tflearn/tflearn/issues/818/events","html_url":"https://github.com/tflearn/tflearn/issues/818","id":239352376,"node_id":"MDU6SXNzdWUyMzkzNTIzNzY=","number":818,"title":"Bidirectional LTSM example throws shape error","user":{"login":"colinskow","id":5303269,"node_id":"MDQ6VXNlcjUzMDMyNjk=","avatar_url":"https://avatars0.githubusercontent.com/u/5303269?v=4","gravatar_id":"","url":"https://api.github.com/users/colinskow","html_url":"https://github.com/colinskow","followers_url":"https://api.github.com/users/colinskow/followers","following_url":"https://api.github.com/users/colinskow/following{/other_user}","gists_url":"https://api.github.com/users/colinskow/gists{/gist_id}","starred_url":"https://api.github.com/users/colinskow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinskow/subscriptions","organizations_url":"https://api.github.com/users/colinskow/orgs","repos_url":"https://api.github.com/users/colinskow/repos","events_url":"https://api.github.com/users/colinskow/events{/privacy}","received_events_url":"https://api.github.com/users/colinskow/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-06-29T02:55:39Z","updated_at":"2018-07-02T09:05:55Z","closed_at":"2017-07-10T12:39:53Z","author_association":"CONTRIBUTOR","body":"Running the following file throws an error:\r\nhttps://github.com/tflearn/tflearn/blob/master/examples/nlp/bidirectional_lstm.py\r\n\r\n`ValueError: Shape (128, ?) must have rank at least 3`\r\n\r\nSetup:\r\n- MacOS Sierra (10.12)\r\n- Python 2.7\r\n- Tensorflow v1.2.0\r\n- TFLearn v0.3.2\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"bidirectional_lstm.py\", line 47, in <module>\r\n    net = bidirectional_rnn(net, BasicLSTMCell(128), BasicLSTMCell(128))\r\n  File \"/Users/colin/tensorflow/lib/python2.7/site-packages/tflearn/layers/recurrent.py\", line 374, in bidirectional_rnn\r\n    dtype=tf.float32)\r\n  File \"/Users/colin/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/rnn.py\", line 375, in bidirectional_dynamic_rnn\r\n    time_major=time_major, scope=fw_scope)\r\n  File \"/Users/colin/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/rnn.py\", line 574, in dynamic_rnn\r\n    dtype=dtype)\r\n  File \"/Users/colin/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/rnn.py\", line 637, in _dynamic_rnn_loop\r\n    for input_ in flat_input)\r\n  File \"/Users/colin/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/rnn.py\", line 637, in <genexpr>\r\n    for input_ in flat_input)\r\n  File \"/Users/colin/tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/tensor_shape.py\", line 649, in with_rank_at_least\r\n    raise ValueError(\"Shape %s must have rank at least %d\" % (self, rank))\r\nValueError: Shape (128, ?) must have rank at least 3\r\n```"},"comment":{"url":"https://api.github.com/repos/tflearn/tflearn/issues/comments/401724083","html_url":"https://github.com/tflearn/tflearn/issues/818#issuecomment-401724083","issue_url":"https://api.github.com/repos/tflearn/tflearn/issues/818","id":401724083,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTcyNDA4Mw==","user":{"login":"maxiaomu","id":19425758,"node_id":"MDQ6VXNlcjE5NDI1NzU4","avatar_url":"https://avatars2.githubusercontent.com/u/19425758?v=4","gravatar_id":"","url":"https://api.github.com/users/maxiaomu","html_url":"https://github.com/maxiaomu","followers_url":"https://api.github.com/users/maxiaomu/followers","following_url":"https://api.github.com/users/maxiaomu/following{/other_user}","gists_url":"https://api.github.com/users/maxiaomu/gists{/gist_id}","starred_url":"https://api.github.com/users/maxiaomu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxiaomu/subscriptions","organizations_url":"https://api.github.com/users/maxiaomu/orgs","repos_url":"https://api.github.com/users/maxiaomu/repos","events_url":"https://api.github.com/users/maxiaomu/events{/privacy}","received_events_url":"https://api.github.com/users/maxiaomu/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T09:05:55Z","updated_at":"2018-07-02T09:05:55Z","author_association":"NONE","body":"Oh, i've found the same problem with tf.__version__\r\n'1.6.0-rc0'."}}
{"actor":{"display_login":"maxiaomu"}}