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

How does padding 'none' work? #44

Open
scott-vision opened this issue Feb 28, 2024 · 1 comment
Open

How does padding 'none' work? #44

scott-vision opened this issue Feb 28, 2024 · 1 comment

Comments

@scott-vision
Copy link

Hi,

I have picked up some code that someone else was using that is no longer with us.

He is setting pad_mode to 'none' and pad_min to [16,16,16]

Does this not pad at all or pad with zeroes.

Thanks,
Scott

@eric-czech
Copy link
Collaborator

Does this not pad at all or pad with zeroes.

It would pad according to pad_fill, but only for 16 pixels in each dimension. The default pad_fill mode is REFLECT, which is discussed some more in https://www.tensorflow.org/api_docs/python/tf/pad.

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