Skip to content

tensorflow.python.framework.errors_impl.UnimplementedError: The Conv2D op currently only supports the NHWC tensor format on the CPU. The op was given the format: NCHW [Op:Conv2D] #261

@sdufe33306

Description

@sdufe33306

tensorflow.python.framework.errors_impl.UnimplementedError: The Conv2D op currently only supports the NHWC tensor format on the CPU. The op was given the format: NCHW [Op:Conv2D]
In this issue, I changed the
G.init_build(tlx.nn.Input(shape=(16, 3, 96, 96)))
D.init_build(tlx.nn.Input(shape=(16, 3, 384, 384)))
to
G.init_build(tlx.nn.Input(shape=(16, 96, 96, 3))) and D.init_build(tlx.nn.Input(shape=(16, 384, 384, 3))),
However, I'm still encountering the same error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions