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

Visualization: Saliency Maps :: Ori Codes #5

Open
utterances-bot opened this issue Aug 26, 2021 · 1 comment
Open

Visualization: Saliency Maps :: Ori Codes #5

utterances-bot opened this issue Aug 26, 2021 · 1 comment

Comments

@utterances-bot
Copy link

Visualization: Saliency Maps :: Ori Codes

Ori's self-driving RC car

https://ori.codes/artificial-intelligence/visualization/saliency-maps/

Copy link

Hi,

I run your code but I didn't know why you use
upscaled_activation = np.ones((53, 73))

Checking your inspiration github i realize
upscaled_activation = np.ones((3, 6))

So I have problems
averaged_activation = np.mean(activations[layer], axis=3).squeeze(axis=0) * upscaled_activation
In my case np.mean(activations[layer], axis=3).squeeze(axis=0) is (1, 18)
if I multiply by upscaled_activation in any case work by dimentions.

I would like to know why to use that dimension in upscaled_activation

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