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

Warning each batch: Attempting to cast a BatchEncoding to type torch.float32. This is not supported. #3

Open
mgwillia opened this issue Sep 13, 2023 · 1 comment

Comments

@mgwillia
Copy link

As the title says, when I run zero-shot inference with, for example, ActivityNet, from pre-trained weights, I get this warning once per batch. The final retrieval results seem plausible, so I'm wondering if this warning message is to be expected, or if it indicates some broken environment on my end.

@TXH-mercury
Copy link
Owner

Hi@mgwillia , If the evaluation metric are normal, then I think this warning could be ignored.

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