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

unicom/examples/的例子中加上model.eval()会得到不同的结果 #19

Open
luoshmg opened this issue Apr 16, 2024 · 0 comments
Open

Comments

@luoshmg
Copy link

luoshmg commented Apr 16, 2024

我发现unicom/examples/retrieval.md这个例子中没有model.eval().

我用了别的数据做的测试,发现加上model.eval()之后会得到不一样的 Cosine 值. 而且不加的话会导致输入两张一样的图片却获得两个不一样的 features.

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