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

Conv1DTranspose? #8705

Closed
hadaev8 opened this issue Dec 6, 2017 · 4 comments
Closed

Conv1DTranspose? #8705

hadaev8 opened this issue Dec 6, 2017 · 4 comments

Comments

@hadaev8
Copy link

hadaev8 commented Dec 6, 2017

I want to make GAN for 1d object.
Whats best way to implement Conv1DTranspose?

Here write

Do not always use transpose operation for it will consume a lot of time.

So probably use Conv2DTranspose is a bad idea.

Here

@fbranchaud-charron-miovision

As Francois has explained multiple times already, a deconvolution layer is only a convolution layer with an upsampling. I don't think there is an official deconvolution layer. The result is the same.

But

@jwgu

The deconvolution is not equivalent as "convolution + upsampling".

So, how best to do this? Conv2DTranspose? UpSampling1D? Something else?

@OtterOrder
Copy link

Hi,

I have the exact same problem.
I'm not sure why there is no Conv1DTranspose in the first place since it proved pretty convenient for image generation for instance.
Also, I tried using UpSampling1D but unfortunately, it takes more and more time the more I add layers until it finally crashes.

@hadaev8 Did you try with UpSampling1D? Did it work for you?

@hadaev8
Copy link
Author

hadaev8 commented Jan 4, 2018

@OtterOrder
not yet tried

@MinnML
Copy link

MinnML commented Dec 29, 2018

@OtterOrder and @hadaev8 , I have tried both UpSampling1D+Conv1D and also Conv2DTranspose with a 1D kernel on 1D data. They were pretty much the same in speed and accuracy.

@MatthewAwesome
Copy link

This feature has been implemented in tf.keras, (tf v2.2.0), check it out!

@hadaev8 hadaev8 closed this as completed May 21, 2020
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

4 participants