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

为什么使用同样的词和图片得到的结果不一致? #295

Open
learning233 opened this issue Apr 13, 2024 · 0 comments
Open

为什么使用同样的词和图片得到的结果不一致? #295

learning233 opened this issue Apr 13, 2024 · 0 comments

Comments

@learning233
Copy link

词:天空, 栏杆, 女人, 火车站, 火车, 人们
图片地址:https://images.pexels.com/photos/20147042/pexels-photo-20147042.jpeg?cs=srgb&dl=pexels-mateus-castro-20147042.jpg&fm=jpg

测试api:
https://huggingface.co/spaces/OFA-Sys/chinese-clip-zero-shot-image-classification 使用的base
https://huggingface.co/OFA-Sys/chinese-clip-vit-base-patch16

本地跑和上面俩API,这三个结果都不一样。
image
image
本地:[('栏杆', 0.507383406162262), ('女人', 0.44152918457984924), ('人们', 0.02036505565047264), ('天空', 0.019294271245598793), ('火车站', 0.010599039494991302), ('火车', 0.0008290574769489467)]

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