You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#需要和之前的image_tmp_output融合了
def fun(x):
import tensorflow as tf
return tf.space_to_depth(x, block_size=2)
tmp2 = Lambda(fun,output_shape = (13,13,256),name='space_to_depth_2')(tmp2)
tmp = merge(n
ame='merge_1',mode='concat')([tmp2,tmp])
这个cell不能运行,错误如下:
ValueError: Dimension size must be evenly divisible by 2 but is 13 for 'space_to_depth_2_9/SpaceToDepth' (op: 'SpaceToDepth') with input shapes: [?,13,13,256].
请问该如何解决。
The text was updated successfully, but these errors were encountered:
#需要和之前的image_tmp_output融合了
def fun(x):
import tensorflow as tf
return tf.space_to_depth(x, block_size=2)
tmp2 = Lambda(fun,output_shape = (13,13,256),name='space_to_depth_2')(tmp2)
tmp = merge(n
ame='merge_1',mode='concat')([tmp2,tmp])
这个cell不能运行,错误如下:
ValueError: Dimension size must be evenly divisible by 2 but is 13 for 'space_to_depth_2_9/SpaceToDepth' (op: 'SpaceToDepth') with input shapes: [?,13,13,256].
请问该如何解决。
The text was updated successfully, but these errors were encountered: