at line287 x = Lambda(lambda z: z[:, :, :, c * grouped_channels:(c + 1) * grouped_channels] if K.image_data_format() == 'channels_last' else lambda z: z[:, c * grouped_channels:(c + 1) * grouped_channels, :, :])(input)
this cannot be compiled.I try to define two functions to replace lambda,and then it works!
AttributeError: 'function' object has no attribute 'get_shape'` #5987
at line287
x = Lambda(lambda z: z[:, :, :, c * grouped_channels:(c + 1) * grouped_channels] if K.image_data_format() == 'channels_last' else lambda z: z[:, c * grouped_channels:(c + 1) * grouped_channels, :, :])(input)this cannot be compiled.I try to define two functions to replace lambda,and then it works!
AttributeError: 'function' object has no attribute 'get_shape'` #5987