Skip to content

Commit

Permalink
Added workaround for alibi explainer image build
Browse files Browse the repository at this point in the history
  • Loading branch information
axsaucedo authored and seldondev committed Dec 11, 2020
1 parent e5bd308 commit 9fb1910
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/alibi-explain-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ COPY setup.py setup.py
COPY alibiexplainer alibiexplainer
COPY README.md README.md

# Required for https://github.com/slundberg/shap/issues/1633
RUN pip install numpy==1.19.04

RUN pip install . --no-binary protobuf

RUN chmod -R a+rwx /opt/app-root/lib/python3.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,6 @@ enum SpecializedType {
ST_INVALID = 0;
// "tensorflow::TensorList" in the variant type registry.
ST_TENSOR_LIST = 1;
}
// "tensorflow::data::Optional" in the variant type registry.
ST_OPTIONAL = 2;
}

0 comments on commit 9fb1910

Please sign in to comment.