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

IBA for different input dimensions #56

Open
zk-fmf opened this issue Nov 8, 2023 · 0 comments
Open

IBA for different input dimensions #56

zk-fmf opened this issue Nov 8, 2023 · 0 comments

Comments

@zk-fmf
Copy link

zk-fmf commented Nov 8, 2023

Hey, I would like to know how can one adjust the code for different input dimensions.

It is working for (3,W,H) images; I would like to use IBA for inputs of dimension (4,3,W,H).

So the input to my model are 4 different images with 3 color channels.

One obvious thing is to expand batch to input_t.expand(batch_size, -1, -1, -1, -1) instead of (batch_size, -1,-1,-1). What else should be adapted?

Thanks for your help and great interpretability method!

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

1 participant