Skip to content

Does initializing the position embedding to pure zeros for ViT make it worse? #1668

@Phuoc-Hoan-Le

Description

@Phuoc-Hoan-Le

Has anyone tried initializing the position embedding to pure zeros for ViT?

Does initializing the position embedding to pure zeros make it better or worse than using trunc_normal_()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions