Potential deconv model saving fix?
Adding this cast to a tuple seems to fix this issue.
@@ -2468,7 +2468,7 @@ def _preprocess_deconv_output_shape(x, shape, dim_ordering):
shape = (shape[0], shape[2], shape[3], shape[1])
if shape[0] is None:
- shape = (tf.shape(x)[0], ) + shape[1:]
+ shape = (tf.shape(x)[0], ) + tuple(shape[1:])
return shape
