Skip to content

AttributeError: 'function' object has no attribute 'get_shape' #3

@Wyatt1994

Description

@Wyatt1994

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions