keras-image-segmentation icon indicating copy to clipboard operation
keras-image-segmentation copied to clipboard

After resolving _init_.py...

Open enomto opened this issue 6 years ago • 0 comments

Traceback (most recent call last): File "train.py", line 42, in lr_init=lr_init, lr_decay=lr_decay, vgg_weight_path=vgg_path) File "/home/atsushi/keras/work/keras-image-segmentation/model/fcn.py", line 111, in fcn_8s x = Lambda(lambda x: tf.image.resize_images(x, (x.shape[1] * 2, x.shape[2] * 2)))(x) File "/home/atsushi/.local/lib/python2.7/site-packages/keras/engine/topology.py", line 617, in call output = self.call(inputs, **kwargs) File "/home/atsushi/.local/lib/python2.7/site-packages/keras/layers/core.py", line 663, in call return self.function(inputs, **arguments) File "/home/atsushi/keras/work/keras-image-segmentation/model/fcn.py", line 111, in x = Lambda(lambda x: tf.image.resize_images(x, (x.shape[1] * 2, x.shape[2] * 2)))(x) File "/home/atsushi/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/image_ops_impl.py", line 746, in resize_images raise ValueError(''size' must be a 1-D int32 Tensor') ValueError: 'size' must be a 1-D int32 Tensor

enomto avatar Apr 19 '18 03:04 enomto