Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application fails w/ ubuntu 16.04 #4

Open
mvillmow opened this issue Oct 28, 2017 · 0 comments
Open

Application fails w/ ubuntu 16.04 #4

mvillmow opened this issue Oct 28, 2017 · 0 comments

Comments

@mvillmow
Copy link

Command:

python main.py sample

Error:

python main.py sample
Traceback (most recent call last):
  File "main.py", line 238, in <module>
    c = Color(512,1)
  File "main.py", line 37, in __init__
    combined_preimage = tf.concat(3, [self.line_images, self.color_images])
  File "/home/mvillmow/.local/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 1061, in concat
    dtype=dtypes.int32).get_shape(
  File "/home/mvillmow/.local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 611, in convert_to_tensor
    as_ref=False)
  File "/home/mvillmow/.local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 676, in internal_convert_to_tensor
    ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
  File "/home/mvillmow/.local/lib/python2.7/site-packages/tensorflow/python/framework/constant_op.py", line 121, in _constant_tensor_conversion_function
    return constant(v, dtype=dtype, name=name)
  File "/home/mvillmow/.local/lib/python2.7/site-packages/tensorflow/python/framework/constant_op.py", line 102, in constant
    tensor_util.make_tensor_proto(value, dtype=dtype, shape=shape, verify_shape=verify_shape))
  File "/home/mvillmow/.local/lib/python2.7/site-packages/tensorflow/python/framework/tensor_util.py", line 376, in make_tensor_proto
    _AssertCompatible(values, dtype)
  File "/home/mvillmow/.local/lib/python2.7/site-packages/tensorflow/python/framework/tensor_util.py", line 302, in _AssertCompatible
    (dtype.name, repr(mismatch), type(mismatch).__name__))
TypeError: Expected int32, got list containing Tensors of type '_Message' instead.

Repro steps:

git clone https://github.com/kvfrans/deepcolor.git
pip install --user tensorflow numpy
sudo apt-get install python-opencv
python main.py sample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant