{"action":"closed","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3169","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3169/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3169/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3169/events","html_url":"https://github.com/tensorflow/tensorflow/issues/3169","id":163558335,"number":3169,"title":"AttributeError: 'module' object has no attribute 'linear'","user":{"login":"fobus42","id":7473642,"avatar_url":"https://avatars.githubusercontent.com/u/7473642?v=3","gravatar_id":"","url":"https://api.github.com/users/fobus42","html_url":"https://github.com/fobus42","followers_url":"https://api.github.com/users/fobus42/followers","following_url":"https://api.github.com/users/fobus42/following{/other_user}","gists_url":"https://api.github.com/users/fobus42/gists{/gist_id}","starred_url":"https://api.github.com/users/fobus42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fobus42/subscriptions","organizations_url":"https://api.github.com/users/fobus42/orgs","repos_url":"https://api.github.com/users/fobus42/repos","events_url":"https://api.github.com/users/fobus42/events{/privacy}","received_events_url":"https://api.github.com/users/fobus42/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-03T11:30:58Z","updated_at":"2016-07-07T00:16:07Z","closed_at":"2016-07-07T00:16:07Z","body":"I'm trying to run this tutorial : https://medium.com/@ilblackdragon/tensorflow-tutorial-part-1-c559c63c0cb1#.1a7hit535\r\n\r\nI have got some errors on this bug report : https://github.com/tensorflow/tensorflow/issues/3167\r\n\r\nThen I have tried to fix it by modifying the TF Learn code. \r\n\r\n### Environment info\r\nOperating System: Linux Mint 17.3 Rosa\r\n$uname -a\r\n\r\nLinux Pabeda 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\n$python -c \"import tensorflow; print(tensorflow.version)\"\r\n0.9.0\r\n\r\n### Steps to reproduce\r\n1. $ git clone https://github.com/ilblackdragon/tf_examples.git\r\n2. edit /usr/local/lib/python2.7/dist-packages/skflow/trainer.py\r\n\r\nLine 146 \r\n\r\nreplace\r\n`if summaries `\r\nwith\r\n`if summaries is not None:`\r\n\r\nLine 167\r\n\r\nreplace\r\n`if summaries  and summary_writer and summ is not None`\r\nwith\r\n`if summaries is not None and summary_writer is not None and summ is not None:`\r\n\r\n3.$python titanic.py\r\n\r\n### Errors\r\n\r\nTraceback (most recent call last):\r\n  File \"titanic.py\", line 41, in <module>\r\n    classifier.fit(X_train, y_train)\r\n  File \"/usr/local/lib/python2.7/dist-packages/skflow/estimators/base.py\", line 200, in fit\r\n    self._setup_training()\r\n  File \"/usr/local/lib/python2.7/dist-packages/skflow/estimators/base.py\", line 139, in _setup_training\r\n    self._inp, self._out)\r\n  File \"/usr/local/lib/python2.7/dist-packages/skflow/estimators/dnn.py\", line 82, in _model_fn\r\n    models.logistic_regression)(X, y)\r\n  File \"/usr/local/lib/python2.7/dist-packages/skflow/models.py\", line 99, in dnn_estimator\r\n    layers = dnn(X, hidden_units)\r\n  File \"/usr/local/lib/python2.7/dist-packages/skflow/ops/dnn_ops.py\", line 39, in dnn\r\n    tensor_in = tf.nn.rnn_cell.linear(tensor_in, n_units, True)\r\nAttributeError: 'module' object has no attribute 'linear'\r\n"}}
{"actor":{"display_login":"aselle"}}