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

Request help in reproduction: missing clip_modeling.py #3

Closed
AI-Kyo-er opened this issue Nov 19, 2024 · 1 comment
Closed

Request help in reproduction: missing clip_modeling.py #3

AI-Kyo-er opened this issue Nov 19, 2024 · 1 comment

Comments

@AI-Kyo-er
Copy link

We noticed that your code contains "modify the code in modeling_clip.py to make the CLIP model return patch features", but we don't know the specific operation of the modified library file code. Could you help us reproduce your work? If there are omissions or misunderstandings in our reproduction, please point them out and wo will be with much appreciation.

我们注意到你的code中有 “modify the code in modeling_clip.py to make the CLIP model return patch features”,但是具体被修改的库文件代码我们并不知道具体操作,请问能帮助我们完成对贵工作的复现吗?如果是我们复现有疏漏或理解错误,还恳请指出,感激不尽。

@Iriya99
Copy link
Owner

Iriya99 commented Dec 23, 2024

modeling_clip.py是transformer提供的CLIP模型实现(transformers/models/clip/modeling_clip.py
),在你的conda环境下用pip show找找huggingface库的位置

@Iriya99 Iriya99 closed this as completed Feb 12, 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

2 participants