About Padding DCGAN Implementation

Asked 1 years ago, Updated 1 years ago, 69 views

I am currently trying to implement DCGAN in keras, but at the beginning of the generator (1024, 4, 4), the kernel of the size (1, 1) is inverted to (512, 8, 8) at stride 5, right?
I'm thinking of using Keras' Conv2 DTranspose, but what should I do with padding the same or valid?Also, is the stride 5 of the kernel okay for the size (4,4)?

python tensorflow machine-learning keras

2022-09-30 19:48

1 Answers

If you specify padding="same", the output size will not change, so padding="valid" should be fine.
I can't say for sure (4,4) because I haven't experimented with it, but I don't think strides=5 is possible.In terms of model performance.


2022-09-30 19:48

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.