{"action":"created","issue":{"url":"https://api.github.com/repos/jakeret/tf_unet/issues/1","repository_url":"https://api.github.com/repos/jakeret/tf_unet","labels_url":"https://api.github.com/repos/jakeret/tf_unet/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jakeret/tf_unet/issues/1/comments","events_url":"https://api.github.com/repos/jakeret/tf_unet/issues/1/events","html_url":"https://github.com/jakeret/tf_unet/issues/1","id":180179798,"number":1,"title":"the error messages of running demo_toy_problem.ipynb","user":{"login":"wenouyang","id":5430158,"avatar_url":"https://avatars.githubusercontent.com/u/5430158?v=3","gravatar_id":"","url":"https://api.github.com/users/wenouyang","html_url":"https://github.com/wenouyang","followers_url":"https://api.github.com/users/wenouyang/followers","following_url":"https://api.github.com/users/wenouyang/following{/other_user}","gists_url":"https://api.github.com/users/wenouyang/gists{/gist_id}","starred_url":"https://api.github.com/users/wenouyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenouyang/subscriptions","organizations_url":"https://api.github.com/users/wenouyang/orgs","repos_url":"https://api.github.com/users/wenouyang/repos","events_url":"https://api.github.com/users/wenouyang/events{/privacy}","received_events_url":"https://api.github.com/users/wenouyang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-29T22:32:14Z","updated_at":"2016-10-19T18:20:22Z","closed_at":"2016-10-19T18:20:22Z","body":"Hi Jakeret,\r\n\r\nWhen running demo_toy_problem.ipynb, executing this line of code `path = trainer.train(generator, \"./unet_trained\", training_iters=20, epochs=100, display_step=2)` . I got the following error messages, do you mind sharing any insights on what causes the problem\r\n\r\nVerification error= 16.7%, loss= 0.8326                                             \r\nStart optimization                                                                  \r\nTraceback (most recent call last):                                                  \r\n  File \"/test/tfw/lib/python3.4/site-packages/tensorflow/python/client/session.py\", line 480, in _process_fetches                                                                                                                     \r\n    allow_operation=True)                                                                                                  \r\n  File \"/test/tfw/lib/python3.4/site-packages/tensorflow/python/framework/ops.py\", line 2301, in as_graph_element                                                                                                                     \r\n    % (type(obj).__name__, types_str))                                                                                     \r\nTypeError: Can not convert a list into a Tensor or Operation.                                                              \r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"test.py\", line 30, in <module>\r\n    path = trainer.train(generator, \"./unet_trained\", training_iters=20, epochs=100, display_step=2)\r\n  File \"/home/user/test/u-net/ver3/unet.py\", line 364, in train                                     \r\n    self.net.keep_prob: dropout})\r\n  File \"/test/tfw/lib/python3.4/site-packages/tensorflow/python/client/session.py\", line 340, in run\r\n    run_metadata_ptr)\r\n  File \"/test/tfw/lib/python3.4/site-packages/tensorflow/python/client/session.py\", line 523, in _run\r\n    processed_fetches = self._process_fetches(fetches)\r\n  File \"/test/tfw/lib/python3.4/site-packages/tensorflow/python/client/session.py\", line 493, in _process_fetches\r\n    % (subfetch, fetch, type(subfetch), str(e)))\r\nTypeError: Fetch argument [<tf.Tensor 'gradients/Conv2D_grad/Conv2DBackpropFilter:0' shape=(3, 3, 1, 16) dtype=float32>, <tf.Tensor 'gradients/Conv2D_1_grad/Conv2DBackpropFilter:0' shape=(3, 3, 16, 16) dtype=float32>, <tf.Tensor 'gradients/Conv2D_2_grad/Conv2DBackpropFilter:0' shape=(3, 3, 16, 32) dtype=float32>, <tf.Tensor 'gradients/Conv2D_3_grad/Conv2DBackpropFilter:0' shape=(3, 3, 32, 32) dtype=float32>, <tf.Tensor 'gradients/Conv2D_4_grad/Conv2DBackpropFilter:0' shape=(3, 3, 32, 64) dtype=float32>, <tf.Tensor 'gradients/Conv2D_5_grad/Conv2DBackpropFilter:0' shape=(3, 3, 64, 64) dtype=float32>, <tf.Tensor 'gradients/Conv2D_6_grad/Conv2DBackpropFilter:0' shape=(3, 3, 64, 32) dtype=float32>, <tf.Tensor 'gradients/Conv2D_7_grad/Conv2DBackpropFilter:0' shape=(3, 3, 32, 32) dtype=float32>, <tf.Tensor 'gradients/Conv2D_8_grad/Conv2DBackpropFilter:0' shape=(3, 3, 32, 16) dtype=float32>, <tf.Tensor 'gradients/Conv2D_9_grad/Conv2DBackpropFilter:0' shape=(3, 3, 16, 16) dtype=float32>, <tf.Tensor 'gradients/add_grad/Reshape_1:0' shape=(16,) dtype=float32>, <tf.Tensor 'gradients/add_1_grad/Reshape_1:0' shape=(16,) dtype=float32>, <tf.Tensor 'gradients/add_2_grad/Reshape_1:0' shape=(32,) dtype=float32>, <tf.Tensor 'gradients/add_3_grad/Reshape_1:0' shape=(32,) dtype=float32>, <tf.Tensor 'gradients/add_4_grad/Reshape_1:0' shape=(64,) dtype=float32>, <tf.Tensor 'gradients/add_5_grad/Reshape_1:0' shape=(64,) dtype=float32>, <tf.Tensor 'gradients/add_7_grad/Reshape_1:0' shape=(32,) dtype=float32>, <tf.Tensor 'gradients/add_8_grad/Reshape_1:0' shape=(32,) dtype=float32>, <tf.Tensor 'gradients/add_10_grad/Reshape_1:0' shape=(16,) dtype=float32>, <tf.Tensor 'gradients/add_11_grad/Reshape_1:0' shape=(16,) dtype=float32>] of [<tf.Tensor 'gradients/Conv2D_grad/Conv2DBackpropFilter:0' shape=(3, 3, 1, 16) dtype=float32>, <tf.Tensor 'gradients/Conv2D_1_grad/Conv2DBackpropFilter:0' shape=(3, 3, 16, 16) dtype=float32>, <tf.Tensor 'gradients/Conv2D_2_grad/Conv2DBackpropFilter:0' shape=(3, 3, 16, 32) dtype=float32>, <tf.Tensor 'gradients/Conv2D_3_grad/Conv2DBackpropFilter:0' shape=(3, 3, 32, 32) dtype=float32>, <tf.Tensor 'gradients/Conv2D_4_grad/Conv2DBackpropFilter:0' shape=(3, 3, 32, 64) dtype=float32>, <tf.Tensor 'gradients/Conv2D_5_grad/Conv2DBackpropFilter:0' shape=(3, 3, 64, 64) dtype=float32>, <tf.Tensor 'gradients/Conv2D_6_grad/Conv2DBackpropFilter:0' shape=(3, 3, 64, 32) dtype=float32>, <tf.Tensor 'gradients/Conv2D_7_grad/Conv2DBackpropFilter:0' shape=(3, 3, 32, 32) dtype=float32>, <tf.Tensor 'gradients/Conv2D_8_grad/Conv2DBackpropFilter:0' shape=(3, 3, 32, 16) dtype=float32>, <tf.Tensor 'gradients/Conv2D_9_grad/Conv2DBackpropFilter:0' shape=(3, 3, 16, 16) dtype=float32>, <tf.Tensor 'gradients/add_grad/Reshape_1:0' shape=(16,) dtype=float32>, <tf.Tensor 'gradients/add_1_grad/Reshape_1:0' shape=(16,) dtype=float32>, <tf.Tensor 'gradients/add_2_grad/Reshape_1:0' shape=(32,) dtype=float32>, <tf.Tensor 'gradients/add_3_grad/Reshape_1:0' shape=(32,) dtype=float32>, <tf.Tensor 'gradients/add_4_grad/Reshape_1:0' shape=(64,) dtype=float32>, <tf.Tensor 'gradients/add_5_grad/Reshape_1:0' shape=(64,) dtype=float32>, <tf.Tensor 'gradients/add_7_grad/Reshape_1:0' shape=(32,) dtype=float32>, <tf.Tensor 'gradients/add_8_grad/Reshape_1:0' shape=(32,) dtype=float32>, <tf.Tensor 'gradients/add_10_grad/Reshape_1:0' shape=(16,) dtype=float32>, <tf.Tensor 'gradients/add_11_grad/Reshape_1:0' shape=(16,) dtype=float32>] has invalid type <class 'list'>, must be a string or Tensor. (Can not convert a list into a Tensor or Operation.)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jakeret/tf_unet/issues/comments/254897759","html_url":"https://github.com/jakeret/tf_unet/issues/1#issuecomment-254897759","issue_url":"https://api.github.com/repos/jakeret/tf_unet/issues/1","id":254897759,"user":{"login":"wenouyang","id":5430158,"avatar_url":"https://avatars.githubusercontent.com/u/5430158?v=3","gravatar_id":"","url":"https://api.github.com/users/wenouyang","html_url":"https://github.com/wenouyang","followers_url":"https://api.github.com/users/wenouyang/followers","following_url":"https://api.github.com/users/wenouyang/following{/other_user}","gists_url":"https://api.github.com/users/wenouyang/gists{/gist_id}","starred_url":"https://api.github.com/users/wenouyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenouyang/subscriptions","organizations_url":"https://api.github.com/users/wenouyang/orgs","repos_url":"https://api.github.com/users/wenouyang/repos","events_url":"https://api.github.com/users/wenouyang/events{/privacy}","received_events_url":"https://api.github.com/users/wenouyang/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T18:20:22Z","updated_at":"2016-10-19T18:20:22Z","body":"Thank you, with some help, I got this figured out."}}
{"actor":{"display_login":"wenouyang"}}