Closed nwatab closed 4 years ago
After investigation, I found variable initialization causing a problem. I keep searching for fix.
init = tf.global_variables_initializer()
with tf.Session() as sess:
sess.run(init)
Solved by setting up allow_growth = True
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
sess = tf.Session(config=config)
I guess, tensorflow uses full of GPU memory by default, and prohibit face alignment to use GPU. https://github.com/tensorflow/tensorflow/issues/24828#issuecomment-464957482
Hi, everyone. I got an error below when training my own tensorflow graph using face_alignment to predict input and output image's landmarks with dlib+CUDA. Does anybody know something about this issue related to dlib?
When training tensorflow graph,
When predicting single image,
I found similar issue on dlib, and it has not beed resolved and already closed. Furthermore, error message "A call to cuDNN failed" is the default message of switch case. https://github.com/davisking/dlib/issues/1772
My environments:
Thank you for reading and feel sorry that I can't share all training code.