llSourcell / Pokemon_GAN

This is the code for "Generating Pokemon with a Generative Adversarial Network" by Siraj Raval on Youtube
433 stars 208 forks source link

Error when run pokeGan.py #20

Open akare55 opened 5 years ago

akare55 commented 5 years ago

Hi everyone,

I got some error like above when I'm trying to run pokeGAN.py. Is there anaybody know the solution?

error

jontydelan commented 5 years ago

any updates on the issue ?

JudeWells commented 5 years ago

I got this error when running the script in a google colab notebook, it only occurred after I had already started training once then stopped it and attempted to run the training again. The solution was to reset the runtime environment which removes all stored variables.

CodyHigdem commented 5 years ago

Running

tf.reset_default_graph()

right before training seems to solve the problem.

akare55 commented 5 years ago

Thank you so much qtheninja