Skip to content

What do we need to do this operation for computing image embedding in AC? #77

@raymondchua

Description

@raymondchua

Hi,
I have some trouble trying to understand why we need to do this in the ACModel:

self.image_embedding_size = ((n-1)//2-2)*((m-1)//2-2)*64

Can someone explain? I understand that 64 could be the number of output channel from the previous layer. But why do we need to do ((n-1)//2-2)?

Best,
Raymond

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