1. 程式人生 > >BI-LSTM and CRF using Keras

BI-LSTM and CRF using Keras

crf proto multiple fig onf con pro ken import

問題1:CUDA_ERROR_OUT_OF_MEMORY: How to activate multiple GPUs from Keras in Tensorflow

import keras.backend as K

config = K.tf.ConfigProto()
config.gpu_options.allow_growth = True
session = K.tf.Session(config=config)

BI-LSTM and CRF using Keras