• G
    fix for clip · 6d924f85
    gaotingquan 提交于
    1. fix bias_attr to False for conv of PatchEmbed;
    2. support return_tokens_mean for Head of CLIP;
    3. support remove_cls_token_in_forward for CLIP;
    4. support head_init_scale argument for ViT backbone;
    5. support get_num_layers() and no_weight_decay() for ViT backbone.
    6d924f85
foundation_vit.py 32.3 KB