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

Accept opencv alternatives #144

Merged
merged 4 commits into from
Jul 24, 2020

Conversation

boussoffara
Copy link
Contributor

A possible fix to #142 : remove tensorflow and opencv dependency from setuptools but check for a valid version at import time and raise a helpful error:
"TF-explain requires Opencv. Install Opencv via pip install opencv-python"
"TF-explain requires TensorFlow 2.0 or higher. Install TensorFlow via pip install tensorflow"

Assuming most users would have a flavor of both installed this would avoid installing conflicting packages.
For beginners the error should quickly guide them to the fix

README.md Outdated Show resolved Hide resolved
Co-authored-by: AlexandreS <32449369+AlexandreSi@users.noreply.github.com>
@RaphaelMeudec
Copy link
Collaborator

@boussoffara LGTM! Thanks for the contribution!

@RaphaelMeudec RaphaelMeudec merged commit 8dff129 into sicara:master Jul 24, 2020
@boussoffara boussoffara deleted the accept-opencv-alternatives branch July 26, 2020 00:46
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 this pull request may close these issues.

3 participants