Traceback (most recent call last):


 "main.py", line 422, in <module>

main()


 "main.py", line 275, in main

pool3_flat, pool3_size = Flatten(pool3)


 "/home/LiChenyang/spatial-transformer-network/utils/layer_utils.py", line 85, in Flatten

layer_flat = tf.reshape(layer, [-1, num_features])


 "/home/xinlab/anaconda3/lib/python3.6/site-packages/tensorflow/python/ops/gen_array_ops.py", line 6113, in reshape

"Reshape", tensor=tensor, shape=shape, name=name)


 "/home/xinlab/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 513, in _apply_op_helper

raise err


 "/home/xinlab/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 510, in _apply_op_helper

preferred_dtype=default_dtype)


 "/home/xinlab/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1104, in internal_convert_to_tensor

ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)


 "/home/xinlab/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 235, in _constant_tensor_conversion_function

return constant(v, dtype=dtype, name=name)


 "/home/xinlab/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 214, in constant

value, dtype=dtype, shape=shape, verify_shape=verify_shape))


 "/home/xinlab/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/tensor_util.py", line 521, in make_tensor_proto

"supported type." % (type(values), values))
TypeError: Failed to convert object of type <class 'list'> to Tensor. Contents: [-1, None]. Consider casting elements to a supported type.

Traceback (most recent call last):


 "/opt/securisync/virtualenv-2.24.0/local/lib/python2.7/site-packages/tornado/web.py", line 1511, in _execute

result = yield result


 "/opt/securisync/virtualenv-2.24.0/local/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run

value = future.result()


 "/opt/securisync/virtualenv-2.24.0/local/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result

raise_exc_info(self._exc_info)


 "/opt/securisync/virtualenv-2.24.0/local/lib/python2.7/site-packages/tornado/gen.py", line 1063, in run

yielded = self.gen.throw(*exc_info)


 "/opt/securisync/be-2.26.4/lib/ss/tornado2/handlers/locatorservice.py", line 298, in get

response = yield self.do_hp_request(request)


 "/opt/securisync/virtualenv-2.24.0/local/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run

value = future.result()


 "/opt/securisync/virtualenv-2.24.0/local/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result

raise_exc_info(self._exc_info)


 "/opt/securisync/virtualenv-2.24.0/local/lib/python2.7/site-packages/tornado/gen.py", line 1063, in run

yielded = self.gen.throw(*exc_info)


 "/opt/securisync/be-2.26.4/lib/ss/tornado2/handlers/locatorservice.py", line 119, in do_hp_request

response = yield tornado.httpclient.AsyncHTTPClient().fetch(request)


 "/opt/securisync/virtualenv-2.24.0/local/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run

value = future.result()


 "/opt/securisync/virtualenv-2.24.0/local/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result

raise_exc_info(self._exc_info)


 "<string>", line 3, in raise_exc_info
TypeError: cannot concatenate 'str' and 'NoneType' objects