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

ValueError for Mask generation #1

Open
SiwarBG-2019 opened this issue May 25, 2021 · 1 comment
Open

ValueError for Mask generation #1

SiwarBG-2019 opened this issue May 25, 2021 · 1 comment

Comments

@SiwarBG-2019
Copy link

SiwarBG-2019 commented May 25, 2021

Hello,
I am asking for an urgent help please.

I have tested the code with input size for input image size equals to (224,224,3). I had this error :

File "C:...\RISE_tf\explain_image.py", line 54, in generate_masks
anti_aliasing=False)[x:x + self.input_size[0], y:y + self.input_size[1]]
ValueError: could not broadcast input array from shape (224,224,9) into shape (224,224,3)

@palatos
Copy link
Owner

palatos commented May 25, 2021

Hi!

Can you try to run the example notebook from this repository on Google Colab and confirm it works there?
It should be accessible through this:

Open In Colab

If the error is not reproducible there it might at least point us in the right direction for debugging.

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

No branches or pull requests

2 participants