Alibi explainer example not working due to old model uri
sivanantha321 opened this issue · 0 comments
sivanantha321 commented
Expected Behavior
Actual Behavior
Alibi image explainer and income explainer examples throwing module not found error. This is due to the fact that alibi version is upgraded to 0.9.1 by kserve/kserve#2832 while the model is using old version of alibi.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/alibiexplainer/alibiexplainer/__main__.py", line 57, in <module>
main()
File "/alibiexplainer/alibiexplainer/__main__.py", line 43, in main
alibi_model = dill.load(f)
File "/prod_venv/lib/python3.9/site-packages/dill/_dill.py", line 272, in load
return Unpickler(file, ignore=ignore, **kwds).load()
File "/prod_venv/lib/python3.9/site-packages/dill/_dill.py", line 419, in load
obj = StockUnpickler.load(self)
File "/prod_venv/lib/python3.9/site-packages/dill/_dill.py", line 409, in find_class
return StockUnpickler.find_class(self, module, name)
ModuleNotFoundError: No module named 'alibi.explainers.anchor_image'
Steps to Reproduce the Problem
Additional Info
Additional context
Add any other context about the problem here.
Install information:
- Platform (GKE, IKS, AKS, OnPrem, etc.):
- KServe Version: 0.11.0-rc0