GAN256 icon indicating copy to clipboard operation
GAN256 copied to clipboard

Why using 4096 input vector size?

Open artucalvo opened this issue 5 years ago • 1 comments

Great work, but I am trying to understand why are you using 4096 as input vector size, while in the DCGAN paper it uses 100.

def noise(n):
    return np.random.uniform(-1.0, 1.0, size = [n, 4096])

# And in the generator
 self.G.add(Reshape(target_shape = [1, 1, 4096], input_shape = [4096]))

I tried to change those values to 100, but it gives error stating that reshape expects dimension 100.

Any thoughts?

artucalvo avatar Jul 01 '19 12:07 artucalvo

It is because the desired size is 256*256 and therefore we need more dimension, which is more and different from what is mentioned in the dcgan paper.

rohanbanerjee avatar Jan 27 '20 19:01 rohanbanerjee