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

Installation should accept opencv-contrib-python #142

Closed
bersbersbers opened this issue Jul 2, 2020 · 3 comments
Closed

Installation should accept opencv-contrib-python #142

bersbersbers opened this issue Jul 2, 2020 · 3 comments

Comments

@bersbersbers
Copy link

> pip check
tf-explain 0.2.1 requires opencv-python, which is not installed.

But I have opencv-contrib-python installed, and everything is working fine. See also aleju/imgaug#473

@RaphaelMeudec
Copy link
Collaborator

@bersbersbers thanks for pointing out! Would be happy to review a PR for it if you have time to work on it

@darinmandarin
Copy link

I also have an issue with opencv when importing tf_explain or any of callbacks.

AttributeError: module 'cv2' has no attribute 'COLORMAP_VIRIDIS'. Neither of installed opencv packages work
(opencv-contrib-python==4.3.0.36
opencv-python==4.3.0.36)

@RaphaelMeudec
Copy link
Collaborator

I think the problem has been fixed on master already and shipped in the last release. Closing this issue, thanks for opening it!

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

Successfully merging a pull request may close this issue.

3 participants