Giter Site home page Giter Site logo

Comments (7)

sushreebarsa avatar sushreebarsa commented on July 18, 2024

@olive380 If you don't require any padding for the output, simply omit the output_padding argument altogether. The default behavior in TensorFlow 2.16 for Conv1DTranspose is to not add any padding, which aligns with your case of using output_padding=0. Also please refer to the Keras documentation for the Conv1DTranspose layer specifically. This might provide additional details and examples regarding the output_padding argument.

Thank you!

from tensorflow.

olive380 avatar olive380 commented on July 18, 2024

@sushreebarsa Thank you for the answer, but your proposal does not solve the issue since the behavior of TensorFlow is totally different if output_padding is omitted or set to zero in all versions of the code up to 2.15. 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. So, please fix the bug in version 2.16 to allow set output_padding=0 in Conv1DTraspose and Conv2DTranspose.

Thank you !

from tensorflow.

tilakrayal avatar tilakrayal commented on July 18, 2024

@olive380,
Thank you for the issue. By default Tensorflow v2.16.1 contains keras3.0 version which might be the issue, as you mentioned this feature is available in Tensorflow v2.15 which contains tf-keras. If the same feature needs to be implemented in the keras3.0, could you please raise the request in keras-team/Keras repo for the quick response. Thank you!

from tensorflow.

github-actions avatar github-actions commented on July 18, 2024

This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.

from tensorflow.

github-actions avatar github-actions commented on July 18, 2024

This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.

from tensorflow.

google-ml-butler avatar google-ml-butler commented on July 18, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from tensorflow.

olive380 avatar olive380 commented on July 18, 2024

Thanks, an issue was opened for Keras 3.0 here

from tensorflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.