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

Why is the top 5 results not fixed and changing every time when using the code demo_fideo_text_detrieval.ipynb for text search and video retrieval #257

Closed
alanMachineLeraning opened this issue Feb 27, 2025 · 5 comments

Comments

@alanMachineLeraning
Copy link

Why is the top 5 results not fixed and changing every time when using the code demo_fideo_text_detrieval.ipynb for text search and video retrieval

@UnableToUseGit
Copy link

text: A playful dog slides down a snowy hill, wagging its tail with delight. ~ prob: 0.3967
text: A person stands on the snowy floor, pushing a sled loaded with blankets, preparing for a fun-filled ride. ~ prob: 0.3358
text: A person bundled up in a blanket walks through the snowy landscape, enjoying the serene winter scenery. ~ prob: 0.0860
text: A man in a gray sweater plays fetch with his dog in the snowy yard, throwing a toy and watching it run. ~ prob: 0.0641
text: A person in a blue jacket walks their pet on a leash, enjoying a peaceful winter walk among the trees. ~ prob: 0.0605

Are my results the same as yours?

@UnableToUseGit
Copy link

Why is the top 5 results not fixed and changing every time when using the code demo_fideo_text_detrieval.ipynb for text search and video retrieval

I also encountered this problem,

@alanMachineLeraning
Copy link
Author

alanMachineLeraning commented Mar 1, 2025 via email

@UnableToUseGit
Copy link

I solved this bug. The reason was that the model weights were not loaded correctly. Make sure that the "pretrained_path" in internvideo2_stage2_config.py is correctly assigned. This point is not mentioned in the repo's DEMO_USAGE_GUIDE.

@alanMachineLeraning
Copy link
Author

thank you very much!

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