import tensorflow as tf


    # define path to save the embeddings
    dirs = ["./emb/embeddings_AVspeech/"]
    for d in dirs:
        if not os.path.exists(d):
            os.makedirs(d)
            print("Folder created:", d)
            
    with tf.Graph().as_default():

        with tf.Session() as sess:

            # Load the model
            facenet.load_model(args.model_dir)

            # Get input and output tensors
