I suppose this is a general question involving dependency conflicts. Without fail, every time I attempt to include the shap library into my project to examine explainability, it creates python environment-destroying dependency conflicts.
What I've tried:
Installing the shap library into an existing project conda environment X. This creates irreparable dependency conflicts
Manually resolving dependency conflicts X. There are too many packages to manage that shap requires to be feasible manually
Creating a stripped-down new environment exclusively for testing shapley values
Installing shap with
conda-forgeInstalling tensorflow with
conda-forge(I still need to load the stored model) X. This creates irreparable dependency conflictsCreating a new environment like above, only with pip installation
Installing tensorflow and shap X. Irreparable dependency conflicts
I would provide the conflicts I'm getting, but they vary so much in each trial that it would not be helpful.
I don't mind if tensorflow runs slowly without my GPU for shapley testing, so no need to install cudatoolkit or cudnn
Is there an existing docker image, or fully setup environment available that doesn't have dependency conflicts that I'm able to use online?