{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/3887","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/3887/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/3887/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/3887/events","html_url":"https://github.com/fchollet/keras/issues/3887","id":179480483,"number":3887,"title":"How could I know which version of tensorflow has been used for current keras?","user":{"login":"jingyonghou","id":16893759,"avatar_url":"https://avatars.githubusercontent.com/u/16893759?v=3","gravatar_id":"","url":"https://api.github.com/users/jingyonghou","html_url":"https://github.com/jingyonghou","followers_url":"https://api.github.com/users/jingyonghou/followers","following_url":"https://api.github.com/users/jingyonghou/following{/other_user}","gists_url":"https://api.github.com/users/jingyonghou/gists{/gist_id}","starred_url":"https://api.github.com/users/jingyonghou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jingyonghou/subscriptions","organizations_url":"https://api.github.com/users/jingyonghou/orgs","repos_url":"https://api.github.com/users/jingyonghou/repos","events_url":"https://api.github.com/users/jingyonghou/events{/privacy}","received_events_url":"https://api.github.com/users/jingyonghou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-27T12:34:36Z","updated_at":"2016-09-28T14:00:16Z","closed_at":null,"body":"I have download the recent tensorflow from github, but it is not work for current keras, what should do? How could I know which version of tensorflow has been used for current keras?\r\n\r\nit report something like that:\r\nTraceback (most recent call last):\r\n  File \"mnist_mlp.py\", line 42, in <module>\r\n    model.add(Dropout(0.2))\r\n  File \"/home2/jyh705/anaconda2/lib/python2.7/site-packages/Keras-1.0.8-py2.7.egg/keras/models.py\", line 308, in add\r\n    output_tensor = layer(self.outputs[0])\r\n  File \"/home2/jyh705/anaconda2/lib/python2.7/site-packages/Keras-1.0.8-py2.7.egg/keras/engine/topology.py\", line 514, in __call__\r\n    self.add_inbound_node(inbound_layers, node_indices, tensor_indices)\r\n  File \"/home2/jyh705/anaconda2/lib/python2.7/site-packages/Keras-1.0.8-py2.7.egg/keras/engine/topology.py\", line 572, in add_inbound_node\r\n    Node.create_node(self, inbound_layers, node_indices, tensor_indices)\r\n  File \"/home2/jyh705/anaconda2/lib/python2.7/site-packages/Keras-1.0.8-py2.7.egg/keras/engine/topology.py\", line 149, in create_node\r\n    output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))\r\n  File \"/home2/jyh705/anaconda2/lib/python2.7/site-packages/Keras-1.0.8-py2.7.egg/keras/layers/core.py\", line 90, in call\r\n    x = K.in_train_phase(K.dropout(x, self.p, noise_shape), x)\r\n  File \"/home2/jyh705/anaconda2/lib/python2.7/site-packages/Keras-1.0.8-py2.7.egg/keras/backend/tensorflow_backend.py\", line 1299, in in_train_phase\r\n    x = tf.python.control_flow_ops.cond(tf.cast(_LEARNING_PHASE, 'bool'),\r\nAttributeError: 'module' object has no attribute 'control_flow_ops'\r\n"},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/250174750","html_url":"https://github.com/fchollet/keras/issues/3887#issuecomment-250174750","issue_url":"https://api.github.com/repos/fchollet/keras/issues/3887","id":250174750,"user":{"login":"rusch95","id":10816808,"avatar_url":"https://avatars.githubusercontent.com/u/10816808?v=3","gravatar_id":"","url":"https://api.github.com/users/rusch95","html_url":"https://github.com/rusch95","followers_url":"https://api.github.com/users/rusch95/followers","following_url":"https://api.github.com/users/rusch95/following{/other_user}","gists_url":"https://api.github.com/users/rusch95/gists{/gist_id}","starred_url":"https://api.github.com/users/rusch95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rusch95/subscriptions","organizations_url":"https://api.github.com/users/rusch95/orgs","repos_url":"https://api.github.com/users/rusch95/repos","events_url":"https://api.github.com/users/rusch95/events{/privacy}","received_events_url":"https://api.github.com/users/rusch95/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T14:00:15Z","updated_at":"2016-09-28T14:00:15Z","body":"python -c 'import tensorflow as tf; print(tf.__version__)' "}}
{"actor":{"display_login":"rusch95"}}