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

opencv-python 4.9.0.80 breaks type checking #2197

Open
yifanmai opened this issue Jan 5, 2024 · 1 comment
Open

opencv-python 4.9.0.80 breaks type checking #2197

yifanmai opened this issue Jan 5, 2024 · 1 comment
Labels
bug Something isn't working HEIM (Text2Image) p3 Priority 3 (do someday)

Comments

@yifanmai
Copy link
Collaborator

yifanmai commented Jan 5, 2024

mypy type checking succeeds with opencv-python==4.8.1.78 but breaks with opencv-python==4.9.0.80 fails with the following error:

src/helm/benchmark/metrics/image_generation/fractal_dimension/fractal_dimension_util.py:61: error: Unsupported operand types for / ("ndarray[Any, dtype[generic]]" and "float")  [operator]
@yifanmai yifanmai added bug Something isn't working p3 Priority 3 (do someday) HEIM (Text2Image) labels Jan 5, 2024
@yifanmai
Copy link
Collaborator Author

yifanmai commented Jan 5, 2024

cc @teetone FYI. Probably not urgent to fix though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working HEIM (Text2Image) p3 Priority 3 (do someday)
Projects
None yet
Development

No branches or pull requests

1 participant