Skip to content
This repository was archived by the owner on Mar 17, 2022. It is now read-only.
This repository was archived by the owner on Mar 17, 2022. It is now read-only.

I found why it doesn't work! #16

@Golbstein

Description

@Golbstein

the "view" in pytorch and "flatten" in keras work differently.
To fix this problem add this layer before "Flatten":

x = Lambda(lambda x: K.permute_dimensions(x, (0, 3, 1, 2)))(x)

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