{"action":"created","issue":{"url":"https://api.github.com/repos/Russell91/TensorBox/issues/8","repository_url":"https://api.github.com/repos/Russell91/TensorBox","labels_url":"https://api.github.com/repos/Russell91/TensorBox/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Russell91/TensorBox/issues/8/comments","events_url":"https://api.github.com/repos/Russell91/TensorBox/issues/8/events","html_url":"https://github.com/Russell91/TensorBox/issues/8","id":137837374,"number":8,"title":"Error python train.py","user":{"login":"pribadihcr","id":13068286,"avatar_url":"https://avatars.githubusercontent.com/u/13068286?v=3","gravatar_id":"","url":"https://api.github.com/users/pribadihcr","html_url":"https://github.com/pribadihcr","followers_url":"https://api.github.com/users/pribadihcr/followers","following_url":"https://api.github.com/users/pribadihcr/following{/other_user}","gists_url":"https://api.github.com/users/pribadihcr/gists{/gist_id}","starred_url":"https://api.github.com/users/pribadihcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pribadihcr/subscriptions","organizations_url":"https://api.github.com/users/pribadihcr/orgs","repos_url":"https://api.github.com/users/pribadihcr/repos","events_url":"https://api.github.com/users/pribadihcr/events{/privacy}","received_events_url":"https://api.github.com/users/pribadihcr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-02T10:41:24Z","updated_at":"2016-03-11T01:27:27Z","closed_at":"2016-03-11T01:27:27Z","body":"Hi,\r\n\r\nI run the demo:\r\n~/TensorBox$ python train.py --hypes hypes/default.json --gpu 0 --logdir output\r\n\r\nAnd got the following error:\r\n\r\nI tensorflow/core/common_runtime/local_device.cc:25] Local device intra op parallelism threads: 8\r\nI tensorflow/core/common_runtime/local_session.cc:45] Local session inter op parallelism threads: 8\r\nTraceback (most recent call last):\r\n  File \"train.py\", line 359, in <module>\r\n    main()\r\n  File \"train.py\", line 356, in main\r\n    train(H, test_images=[])\r\n  File \"train.py\", line 262, in train\r\n    log_image = tf.image_summary(log_image_name, tf.expand_dims(test_image_to_log, 0))\r\n  File \"~/.local/lib/python2.7/site-packages/tensorflow/python/ops/summary_ops.py\", line 89, in image_summary\r\n    tag=tag, tensor=tensor, max_images=max_images, name=scope)\r\n  File \"~/.local/lib/python2.7/site-packages/tensorflow/python/ops/gen_summary_ops.py\", line 90, in _image_summary\r\n    name=name)\r\n  File \"~/.local/lib/python2.7/site-packages/tensorflow/python/ops/op_def_library.py\", line 405, in apply_op\r\n    (prefix, types_lib.as_dtype(input_arg.type).name))\r\nTypeError: Input 'tensor' of 'ImageSummary' Op has type uint8 that does not match expected type of float32.\r\n\r\n\r\nmany thanks for help"},"comment":{"url":"https://api.github.com/repos/Russell91/TensorBox/issues/comments/195133428","html_url":"https://github.com/Russell91/TensorBox/issues/8#issuecomment-195133428","issue_url":"https://api.github.com/repos/Russell91/TensorBox/issues/8","id":195133428,"user":{"login":"Russell91","id":1069617,"avatar_url":"https://avatars.githubusercontent.com/u/1069617?v=3","gravatar_id":"","url":"https://api.github.com/users/Russell91","html_url":"https://github.com/Russell91","followers_url":"https://api.github.com/users/Russell91/followers","following_url":"https://api.github.com/users/Russell91/following{/other_user}","gists_url":"https://api.github.com/users/Russell91/gists{/gist_id}","starred_url":"https://api.github.com/users/Russell91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Russell91/subscriptions","organizations_url":"https://api.github.com/users/Russell91/orgs","repos_url":"https://api.github.com/users/Russell91/repos","events_url":"https://api.github.com/users/Russell91/events{/privacy}","received_events_url":"https://api.github.com/users/Russell91/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T01:27:27Z","updated_at":"2016-03-11T01:27:27Z","body":"Please make sure you are using Tensorflow 0.7 or later. If this issue persists, or reoccurs, let me know!"}}