Skip to content
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

Dev/update notebook example #11

Merged
merged 3 commits into from
Jun 7, 2021
Merged

Conversation

Purg
Copy link
Member

@Purg Purg commented Jun 1, 2021

Update the occlusion saliency example notebook for flow and demo-ability.

This also fixes an issue with the sliding window perturb-er plugin, whose module path was not changed when the file was renamed.

NOTE: This is currently a franken-branch that is based on (read: requires) #6 and #9.

@Purg Purg force-pushed the dev/update-notebook-example branch 8 times, most recently from c33eb79 to fa6bdb1 Compare June 4, 2021 14:26
examples/OcclusionSaliency.ipynb Outdated Show resolved Hide resolved
@Purg Purg requested review from vbhavank and brianhhu June 4, 2021 14:30
Copy link
Member

@brianhhu brianhhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall, I know we'll probably end up making edits as the RISE/streaming API gets nailed down. One high-level suggestion would be to potentially show both sliding window and RISE results explicitly (instead of asking the user to comment that out).

@Purg Purg force-pushed the dev/update-notebook-example branch 2 times, most recently from 533f614 to 3f1a40f Compare June 4, 2021 20:37
@Purg Purg force-pushed the dev/update-notebook-example branch from 3f1a40f to d73c40c Compare June 7, 2021 18:04
@Purg
Copy link
Member Author

Purg commented Jun 7, 2021

If we're all happy enough with the change in narrative with the current notebook state, I'll squash the change so that there is just one commit (one "update" of the notebook).

@brianhhu
Copy link
Member

brianhhu commented Jun 7, 2021

LGTM, feel free to squash if they're aren't any other objections.

@Purg
Copy link
Member Author

Purg commented Jun 7, 2021

LGTM, feel free to squash if they're aren't any other objections.

I just have to now fix my blob size issue, and then I'll be GTG for a merge baring further objection.

@Purg Purg force-pushed the dev/update-notebook-example branch 2 times, most recently from e752ad5 to cad2a8c Compare June 7, 2021 18:30
@Purg
Copy link
Member Author

Purg commented Jun 7, 2021

I just have to now fix my blob size issue, and then I'll be GTG for a merge baring further objection.

Oh! Right, depending on #9. Will mark as draft until that gets merged. Forgot to do that.

Copy link
Member

@brianhhu brianhhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Purg added 3 commits June 7, 2021 15:52
Includes new unittest for super-type impl-getting success.
This exercises the previously missed error-path due to incorrect plugin
module.
Fix lack of Imagenet normalization before entering network prediction.

We adjust here the narrative of the notebook example to show more
explicit the "application" context and show the execution of the
"application" with different inputs, rendering the appropriately
different outputs.

Test change in notebook narrative
@Purg Purg force-pushed the dev/update-notebook-example branch from cad2a8c to a208db9 Compare June 7, 2021 19:53
@Purg Purg merged commit 04dbb70 into XAITK:master Jun 7, 2021
@Purg Purg deleted the dev/update-notebook-example branch June 7, 2021 20:02
Purg added a commit that referenced this pull request Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants