The scenario is:
- I run keras in notebookA.
- I run keras in notebookB.
- I got
InternalError: Blas GEMV launch failed
when I start training my model in notebookB.
I know there is similar question here TensorFlow: InternalError: Blas SGEMM launch failed and I can solve this by closing another notebook (notebookA) which was using the gpu).
But I'd like to know is there anyway to run keras with tensorflow backend in multiple notebooks simultaneously? Or it's no way to achieve this for now?
I tried to use the settings below in each notebook but it didn't work (got the same error).
import tensorflow as tf
from keras.backend.tensorflow_backend import set_session
config = tf.ConfigProto()
config.gpu_options.per_process_gpu_memory_fraction = 0.3
set_session(tf.Session(config=config))
Thank you very much!