OmniXAI
OmniXAI copied to clipboard
problem using "omnixai" via pip in colab
Hi,
First, I installed the library as follows (in colab) :
!pip install omnixai
But, when I try to do something as simple as:
from omnixai.explainers.vision import VisionExplainer
I get: ContextualVersionConflict: (scikit-learn 1.2.2 (/usr/local/lib/python3.10/dist-packages), Requirement.parse('scikit-learn<1.2,>=0.24'), {'omnixai'})
How should I proceed??? Thanks!
Hi, the current version requires scikit-learn < 1.2 because some dependencies have issues with the latest scikit-learn. Please reinstall scikit-learn to proceed.
Do we have an idea which dependency requiers scikit-learn<1.2? Relaying on such old version will increasingly make it difficult to use onixai in conjunction of other libs, and it might be wise to patch the dependency itself.