{"action":"reopened","issue":{"url":"https://api.github.com/repos/thtrieu/darkflow/issues/69","repository_url":"https://api.github.com/repos/thtrieu/darkflow","labels_url":"https://api.github.com/repos/thtrieu/darkflow/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/thtrieu/darkflow/issues/69/comments","events_url":"https://api.github.com/repos/thtrieu/darkflow/issues/69/events","html_url":"https://github.com/thtrieu/darkflow/issues/69","id":209805069,"number":69,"title":"an error to convert yolo-voc.weights to a pb","user":{"login":"kaishijeng","id":12689630,"avatar_url":"https://avatars.githubusercontent.com/u/12689630?v=3","gravatar_id":"","url":"https://api.github.com/users/kaishijeng","html_url":"https://github.com/kaishijeng","followers_url":"https://api.github.com/users/kaishijeng/followers","following_url":"https://api.github.com/users/kaishijeng/following{/other_user}","gists_url":"https://api.github.com/users/kaishijeng/gists{/gist_id}","starred_url":"https://api.github.com/users/kaishijeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaishijeng/subscriptions","organizations_url":"https://api.github.com/users/kaishijeng/orgs","repos_url":"https://api.github.com/users/kaishijeng/repos","events_url":"https://api.github.com/users/kaishijeng/events{/privacy}","received_events_url":"https://api.github.com/users/kaishijeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-02-23T16:04:32Z","updated_at":"2017-02-27T02:03:53Z","closed_at":null,"body":"An error occurred when using the following command to convert yolo-voc.weights to a pb format\r\n./flow --model cfg/yolo-voc.cfg --load bin/yolo-voc.weights --savepb --verbalise=True.\r\nThe same command is running OK for tiny-yolo-voc.weights\r\n\r\nTraceback (most recent call last):\r\n  File \"./flow\", line 42, in <module>\r\n    tfnet = TFNet(FLAGS)\r\n  File \"/home/fc/2TB/src/darkflow/net/build.py\", line 50, in __init__\r\n    self.build_forward()\r\n  File \"/home/fc/2TB/src/darkflow/net/build.py\", line 70, in build_forward\r\n    state = op_create(*args)\r\n  File \"/home/fc/2TB/src/darkflow/net/ops/__init__.py\", line 27, in op_create\r\n    return op_types[layer_type](*args)\r\n  File \"/home/fc/2TB/src/darkflow/net/ops/baseop.py\", line 42, in __init__\r\n    self.forward()\r\n  File \"/home/fc/2TB/src/darkflow/net/ops/simple.py\", line 16, in forward\r\n    self.out = tf.concat(routes_out, 3)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/array_ops.py\", line 1075, in concat\r\n    dtype=dtypes.int32).get_shape(\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py\", line 669, 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/framework/constant_op.py\", line 176, 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/framework/constant_op.py\", line 165, in constant\r\n    tensor_util.make_tensor_proto(value, dtype=dtype, shape=shape, verify_shape=verify_shape))\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_util.py\", line 367, 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 302, in _AssertCompatible\r\n    (dtype.name, repr(mismatch), type(mismatch).__name__))\r\nTypeError: Expected int32, got list containing Tensors of type '_Message' instead.\r\n"}}
{"actor":{"display_login":"kaishijeng"}}