Expected int32 passed to parameter 'size' of op 'ResizeBilinear', got [None, None] of type 'list' instead. Error: Expected int32, got None of type '_Message
input: (?, 22, 14, 128)
input_to_copy: (?, ?, ?, 128)
Traceback (most recent call last):
File "train_eager.py", line 111, in
/home/zhaodi/packages/Ev-SegNet-master/nets/Network.py:172 call *
x += reshape_into(self.adap_encoder_2(outputs[1], training=training), x) # 512
/home/zhaodi/packages/Ev-SegNet-master/nets/Network.py:291 reshape_into *
return tf.image.resize_bilinear(inputs, [input_to_copy.get_shape()[1].value,
/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/image_ops_impl.py:3374 resize_bilinear
name=name)
/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/gen_image_ops.py:3333 resize_bilinear
half_pixel_centers=half_pixel_centers, name=name)
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py:536 _apply_op_helper
repr(values), type(values).__name__, err))
TypeError: Expected int32 passed to parameter 'size' of op 'ResizeBilinear', got [None, None] of type 'list' instead. Error: Expected int32, got None of type '_Message
' instead.
Could you please give some advise about this problem?Thanks
Hi! Please share the solution to this issue! Thanks in advance.
Hi! Please share the solution to this issue! Thanks in advance.
I could resolve the problem by using python2.7 and tensorflow version ==1.11.0. Hope it's gonna work for you.
Good luck.
Hi! Please share the solution to this issue! Thanks in advance.
I could resolve the problem by using python2.7 and tensorflow version ==1.11.0. Hope it's gonna work for you.
Good luck.
Hi! Thank you! Could you please share your environment file?
Hi! Please share the solution to this issue! Thanks in advance.
I could resolve the problem by using python2.7 and tensorflow version ==1.11.0. Hope it's gonna work for you.
Good luck.
Hi,
how long did training each epoch take foryou? how many epochs did you train for?