Skip to content

the code is not right #4

@swjtulinxi

Description

@swjtulinxi

def AttentionRefinmentModule(inputs, n_filters):
filters = n_filters

poolingLayer = AveragePooling2D(pool_size=(1, 1), padding='same')??????

#the paper said it is globalAveragePooling ,but here ?????????

x = poolingLayer(inputs)
x = ConvAndBatch(x, kernel=(1, 1), n_filters=filters, activation='sigmoid')

return multiply([inputs, 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