Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Just fixed the problem. I commented out the matplotlib because I'm us…
…ing a virtual environment and it has problems with that. Otherwise, the more concerning problem of the dimension was resolved by defining the correct definitino of the input and out of the generative model and the input of the discriminator model. I use defining the input as 2-D matrix instead of 1-D vector by accident. It turns out (R, 1) and (R,) mean different things! Where the former is a 2-D matrix, and later is a 1-D vector. Super thanks to this help of understanding the shape system in Numpy (https://stackoverflow.com/questions/22053050/difference-between-numpy-array-shape-r-1-and-r)
- Loading branch information