Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VisionTransformer undefined in ram.models.utils.py #181

Open
AnselBlume opened this issue May 9, 2024 · 0 comments
Open

VisionTransformer undefined in ram.models.utils.py #181

AnselBlume opened this issue May 9, 2024 · 0 comments

Comments

@AnselBlume
Copy link

AnselBlume commented May 9, 2024

As title. Usage of undefined symbol linked below:

visual_encoder = VisionTransformer(

Just need to change the line here to

from .vit import interpolate_pos_embed, VisionTransformer

@AnselBlume AnselBlume changed the title VisionTransformer Undefined in ram.models.utils.py VisionTransformer ndefined in ram.models.utils.py May 9, 2024
@AnselBlume AnselBlume changed the title VisionTransformer ndefined in ram.models.utils.py VisionTransformer undefined in ram.models.utils.py May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant