Skip to content

Configuration file parsing problem, if batch_norm_layer connected to fc_layer. #2101

@hedaoyuan

Description

@hedaoyuan

The config is like:

fc = fc_layer(input=pool, size=256)
out = batch_norm_layer(input=fc)

The error is:

Input layer __fc_layer_0__: Incorrect input image size 4 * 4 for input image pixels 1

The error occurred on https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/trainer/config_parser.py#L1162

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