Skip to content

ValueError: Negative dimension size. #3

@Vaibhav170216

Description

@Vaibhav170216

Hi, i am getting negative dimension size error with vgg and efficientnet models. Can you pls help?

ValueError: Exception encountered when calling layer "block2_pool" (type MaxPooling1D).

Negative dimension size caused by subtracting 4 from 2 for '{{node block2_pool/MaxPool}} = MaxPoolT=DT_FLOAT, data_format="NHWC", explicit_paddings=[], ksize=[1, 4, 1, 1], padding="VALID", strides=[1, 4, 1, 1]' with input shapes: [?,2,1,128].

This is for VGG.

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