Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[BUG] naflexvit_so400m_patch16_siglip has undocumented different default pos_embed_interp_mode of "bicubic" instead of "bilinear" #2542

Open
Assignees
rwightman
Labels
bugSomething isn't working
@redhottensors

Description

@redhottensors

Updates

Per further discussion, the difference is intentional, but undocumented. It is a difference with the reference implementation from Google Big Vision.


Original Report

Fix location:

This causes the default to be "bicubic":

pos_embed_interp_mode:str='bicubic'# Interpolation mode for position embedding resizing

Reference code showing "bilinear" interpolation:
https://github.com/google-research/big_vision/blob/0127fb6b337ee2a27bf4e54dea79cff176527356/big_vision/models/proj/image_text/naflex_vit.py#L67

After making this change, TIMM is able to forward siglip2 naflex with cosine similarly at each intermediate above 0.9999.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp