sumuzhao / CycleGAN-Music-Style-Transfer-Refactorization

Symbolic Music Genre Transfer with CycleGAN - Refactorization
MIT License
34 stars 16 forks source link

I'm trying to translate this repo to pytorch #7

Closed Asthestarsfalll closed 3 years ago

Asthestarsfalll commented 3 years ago

However I meet with difficulty that the Conv2DTranspose in tf can not be translated to pytorch,because the ConvTranspose2d in pytorch don't have argument padding "same". Can I slice the tensor to correct shape? Is there any effect on the result if i do this?

Asthestarsfalll commented 3 years ago

or maybe i can use outpadding to control the shape of outputs?