We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
moondream/moondream/torch/image_crops.py
Line 15 in f102859
The text was updated successfully, but these errors were encountered:
With the original input 644x378, expected to get tiling 2x1, but here got 1x1, or 4x2 after using "and".
Sorry, something went wrong.
No branches or pull requests
moondream/moondream/torch/image_crops.py
Line 15 in f102859
Should "and" be used here instead of "or"?
if height <= crop_size and width <= crop_size:
return (1, 1)
The text was updated successfully, but these errors were encountered: