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

Error when training discriminator on generator #2

Open
fercook opened this issue May 28, 2016 · 0 comments
Open

Error when training discriminator on generator #2

fercook opened this issue May 28, 2016 · 0 comments

Comments

@fercook
Copy link

fercook commented May 28, 2016

So, that. I get the following error:
theano.gof.fg.MissingInputError: ("An input of the graph, used to compute DimShuffle{0,1,2,x}(convolution1d_input_1), was not provided and not given a value.Use the Theano flag exception_verbosity='high',for more information on this error.", convolution1d_input_1)

I dug around and found that when training the whole thing, the discriminator had .trainable=True. So, even though it was compiled with False, when you turn it on afterwards it becomes trainable, and then the Theano graph is not well defined.

I was able to fix this by setting discriminator.trainable=True and recompiling it before its training, and afterwards setting it to False and recompiling the discriminator_on_generator.

Now I need to understand why the discriminator converges very fast while the generator diverges. Any ideas on this? I am not using images, but midi files expressed as vector sequences.

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

1 participant