Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with tf.Graph().as_default():
- gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.6)
- sess = tf.Session(config=tf.ConfigProto(gpu_options=gpu_options, log_device_placement = False))
- with sess.as_default():
- print('Loading feature extraction model')
- facenet.load_model(FACENET_MODEL_PATH)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement