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

[BUG] ImportError: cannot import 'SiglipVisionTransformer' #782

Closed
2 tasks
sekharmea opened this issue Jan 22, 2025 · 1 comment
Closed
2 tasks

[BUG] ImportError: cannot import 'SiglipVisionTransformer' #782

sekharmea opened this issue Jan 22, 2025 · 1 comment
Assignees

Comments

@sekharmea
Copy link

sekharmea commented Jan 22, 2025

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

from .modeling_navit_siglip import SiglipVisionTransformer

ImportError: cannot import name 'SiglipVisionTransformer' from 'transformers_modules.openbmb.MiniCPM-o-2_6.1bbb7660afda1ddf2db4eab70fce4bdbcbe1e22c.modeling_navit_siglip'

Not able to import SiglipVisionTransformer

期望行为 | Expected Behavior

No response

复现方法 | Steps To Reproduce

No response

运行环境 | Environment

- OS:Ubuntu 20.04
- Python:3.10
- Transformers:4.44.2
- PyTorch: 2.3.1
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`): 12.1

备注 | Anything else?

No response

@sekharmea sekharmea changed the title [BUG] <title>ImportError: cannot import name 'SiglipVisionTransformer' from 'transformers_modules.openbmb.MiniCPM-o-2_6.1bbb7660afda1ddf2db4eab70fce4bdbcbe1e22c.modeling_navit_siglip' [BUG] <title>ImportError: cannot import 'SiglipVisionTransformer' Jan 22, 2025
@sekharmea sekharmea changed the title [BUG] <title>ImportError: cannot import 'SiglipVisionTransformer' [BUG] ImportError: cannot import 'SiglipVisionTransformer' Jan 22, 2025
@YuzaChongyi
Copy link
Collaborator

Please ensure that all files have been downloaded correctly. We have tested and confirmed that it loads correctly.

@YuzaChongyi YuzaChongyi self-assigned this Jan 23, 2025
@Cuiunbo Cuiunbo closed this as completed Feb 6, 2025
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

3 participants