-
Notifications
You must be signed in to change notification settings - Fork 19.4k
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
output_padding argument in Conv1DTranspose #19909
Labels
Comments
sachinprasadhs
added
type:bug/performance
keras-team-review-pending
Pending review by a Keras team member.
labels
Jun 24, 2024
SamanehSaadat
removed
the
keras-team-review-pending
Pending review by a Keras team member.
label
Jun 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Surprisingly, with TensorFlow 2.16, it is no more possible to set output_padding=0 when using Conv1DTranspose. This feature was allowed in previous versions of TensorFlow (e.g. 2.15) and is still necessary. It appears that this issue is related to the way Keras 3.0 is now managing the output_padding argument.
As reminder, in previous versions of Keras, the behaviour was totally different if output_padding was omitted or set to zero.
If you are not aware of this, please have a look at the deconv_output_length method defined in /tensorflow/python/keras/utils/conv_utils.py available here.
To reproduce the issue, please use the following python script models.zip.
The text was updated successfully, but these errors were encountered: