Traceback (most recent call last):


 "/usr/local/bin/docker-compose", line 11, in <module>

sys.exit(main())


 "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 68, in main

command()


 "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 118, in perform_command

handler(command, command_options)


 "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 926, in up

scale_override=parse_scale_args(options['--scale']),


 "/usr/local/lib/python2.7/dist-packages/compose/project.py", line 424, in up

get_deps


 "/usr/local/lib/python2.7/dist-packages/compose/parallel.py", line 69, in parallel_execute

raise error_to_reraise
TypeError: expected string or buffer

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.
