{"action":"closed","issue":{"url":"https://api.github.com/repos/Russell91/TensorBox/issues/48","repository_url":"https://api.github.com/repos/Russell91/TensorBox","labels_url":"https://api.github.com/repos/Russell91/TensorBox/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/Russell91/TensorBox/issues/48/comments","events_url":"https://api.github.com/repos/Russell91/TensorBox/issues/48/events","html_url":"https://github.com/Russell91/TensorBox/issues/48","id":167375899,"number":48,"title":"TypeError: List of Tensors when single Tensor expected in Tensorflow 0.7","user":{"login":"violivei","id":7117999,"avatar_url":"https://avatars.githubusercontent.com/u/7117999?v=3","gravatar_id":"","url":"https://api.github.com/users/violivei","html_url":"https://github.com/violivei","followers_url":"https://api.github.com/users/violivei/followers","following_url":"https://api.github.com/users/violivei/following{/other_user}","gists_url":"https://api.github.com/users/violivei/gists{/gist_id}","starred_url":"https://api.github.com/users/violivei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/violivei/subscriptions","organizations_url":"https://api.github.com/users/violivei/orgs","repos_url":"https://api.github.com/users/violivei/repos","events_url":"https://api.github.com/users/violivei/events{/privacy}","received_events_url":"https://api.github.com/users/violivei/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-25T14:12:47Z","updated_at":"2016-08-16T03:16:09Z","closed_at":"2016-08-16T03:16:09Z","body":"Hello,\r\n\r\nFirst of all, sorry the newbie question, but I'm facing an issue when using TensorBox with its default training images.\r\nThis is my output:\r\n\r\n\r\n```\r\nI tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally\r\nI tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally\r\nI tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally\r\nI tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally\r\nI tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally\r\nI tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:900] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\r\nI tensorflow/core/common_runtime/gpu/gpu_init.cc:102] Found device 0 with properties: \r\nname: GeForce GTX 860M\r\nmajor: 5 minor: 0 memoryClockRate (GHz) 0.54\r\npciBusID 0000:01:00.0\r\nTotal memory: 2.00GiB\r\nFree memory: 1.70GiB\r\nI tensorflow/core/common_runtime/gpu/gpu_init.cc:126] DMA: 0 \r\nI tensorflow/core/common_runtime/gpu/gpu_init.cc:136] 0:   Y \r\nI tensorflow/core/common_runtime/gpu/gpu_device.cc:717] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 860M, pci bus id: 0000:01:00.0)\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 1.0KiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 2.0KiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 4.0KiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 8.0KiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 16.0KiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 32.0KiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 64.0KiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 128.0KiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 256.0KiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 512.0KiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 1.00MiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 2.00MiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 4.00MiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 8.00MiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 16.00MiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 32.00MiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 64.00MiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 128.00MiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 256.00MiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 512.00MiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 1.00GiB\r\nI tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 2.00GiB\r\nTraceback (most recent call last):\r\n  File \"train.py\", line 532, in <module>\r\n    main()\r\n  File \"train.py\", line 529, in main\r\n    train(H, test_images=[])\r\n  File \"train.py\", line 442, in train\r\n    smooth_op, global_step, learning_rate, encoder_net) = build(H, q)\r\n  File \"train.py\", line 397, in build\r\n    tf.image_summary(phase + '/pred_boxes', pred_log_img)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/summary_ops.py\", line 111, in image_summary\r\n    tag=tag, tensor=tensor, max_images=max_images, name=scope)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_summary_ops.py\", line 91, in _image_summary\r\n    name=name)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/op_def_library.py\", line 411, in apply_op\r\n    as_ref=input_arg.is_ref)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py\", line 529, in convert_to_tensor\r\n    ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/constant_op.py\", line 178, in _constant_tensor_conversion_function\r\n    return constant(v, dtype=dtype, name=name)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/constant_op.py\", line 161, in constant\r\n    tensor_util.make_tensor_proto(value, dtype=dtype, shape=shape))\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_util.py\", line 319, in make_tensor_proto\r\n    _AssertCompatible(values, dtype)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_util.py\", line 256, in _AssertCompatible\r\n    raise TypeError(\"List of Tensors when single Tensor expected\")\r\nTypeError: List of Tensors when single Tensor expected\r\n\r\n```\r\n\r\nAny ideas on what is going on here?\r\n\r\nThanks in advance."}}
{"actor":{"display_login":"Russell91"}}