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

model.ipynb运行问题 #5

Open
lwbmowgli opened this issue Mar 12, 2019 · 0 comments
Open

model.ipynb运行问题 #5

lwbmowgli opened this issue Mar 12, 2019 · 0 comments

Comments

@lwbmowgli
Copy link

#需要和之前的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].

请问该如何解决。

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