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

width != height support [FR] #19

Closed
OverLordGoldDragon opened this issue Jan 12, 2022 · 3 comments
Closed

width != height support [FR] #19

OverLordGoldDragon opened this issue Jan 12, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@OverLordGoldDragon
Copy link

Thanks for your work.

It'd be helpful for r to take on input's dimensionality - i.e. measure receptive field of height and width separately, in case strides and kernel sizes aren't equal throughout the network. The current workaround is to move the dimension of interest to be the first - so if (width, height) = (100, 200), we do (200, 100) and swap all network parameters.

@OverLordGoldDragon OverLordGoldDragon added the enhancement New feature or request label Jan 12, 2022
@MLRichter
Copy link
Owner

Good point, this change permeates through various parts of the library, so there is no quick fix to change this.
That being said, I see your point and I will come back with some estimates on how long it will take to implement.

@MLRichter
Copy link
Owner

Hi,
I managed to build a little prototype, there also will be a new color.
Yellow, which is in cases where the receptive field is on some axis bigger than the input resolution bot not all axes.
This happens for example in InceptionV3, which makes some use of non-square receptive field sizes.
inceptionv3_32_pixels.pdf

Release will be very soon.

@MLRichter
Copy link
Owner

MLRichter commented Jan 12, 2022

This issue has been addressed with PR: #21
The feature is implemented and will be released in the next version.
Thanks for this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants