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

LIME in demo fixed by using RGB values (0-255) #276

Merged
merged 2 commits into from
Mar 22, 2022
Merged

Conversation

egpbos
Copy link
Member

@egpbos egpbos commented Mar 22, 2022

Fixes #254.

The problem was that the input data was divided by 255, which maps the data to the [0,1] range, which is necessary for the models, but LIME expects "RGB values", i.e. in the [0,255] range.

The demo now uses a preprocess_function for LIME to fix this.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@egpbos egpbos requested review from gcroci2 and cwmeijer March 22, 2022 12:36
@elboyran elboyran self-requested a review March 22, 2022 15:23
Copy link
Contributor

@elboyran elboyran left a comment

Choose a reason for hiding this comment

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

Lets merge it and release.

@elboyran elboyran merged commit 17a9036 into main Mar 22, 2022
@geek-yang geek-yang deleted the 254_fix_LIME_in_demo branch April 3, 2023 07:23
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.

Make LIME work (again) with binary mnist
2 participants