-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update Alibi Explainers to 0.4.0 Release #803
Update Alibi Explainers to 0.4.0 Release #803
Conversation
/retest |
@cliveseldon I noticed you already added that in ignore list, but still failed, I guess that's caused the syntax-error in
|
@cliveseldon The test-worker has been updated/merged, you can rebase and retry now. Thanks. |
/retest |
1 similar comment
/retest |
@@ -70,9 +74,14 @@ def _predict_fn(self, arr: Union[np.ndarray, List]) -> np.ndarray: | |||
return np.array(resp["predictions"]) | |||
|
|||
def explain(self, request: Dict) -> Any: | |||
if self.method is ExplainerMethod.anchor_tabular or self.method is ExplainerMethod.anchor_images or self.method is ExplainerMethod.anchor_text: | |||
if ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
braces ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added by Black linter.
config: | ||
batch_size: "25" | ||
stop_in_first: "True" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any doc links on what this means?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have added link to docs.
Thanks @cliveseldon ! I think this should fix the e2e as well #736. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yuzisun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Export LoggerRequest, Fix local logger README * Update B to Bytes in Logger struct * Initial update for Alibi 0.4.0 * refactor args parser and add test * updated samples for explainers * lint * linting checks * more linting * more linting * update lint * lint * Update imagenet README with link to docs
Fixes #792