nengo / keras-lmu

Keras implementation of Legendre Memory Units
https://www.nengo.ai/keras-lmu/
Other
207 stars 35 forks source link

allow_growth to permit parallel notebook kernels? #13

Closed jabowery closed 4 years ago

jabowery commented 4 years ago

In order to run multiple notebooks at once, I've found it necessary to preface them with:

import tensorflow as tf
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
tf.Session(config=config)
arvoelke commented 4 years ago

That's certainly good to know (I had always been disconnecting one kernel before starting the other). I'll keep this open as a reminder to myself to integrate it into the documentation / examples as this develops. Thanks!

arvoelke commented 4 years ago

I'm closing this for now as we will be reworking the documentation moving forwards with each major release, and this is more of a general aspect of using jupyter+TF+GPU than it is something about this repository. Thanks for letting us know!