import tensorflow as tf

    for ext in [".png", ".jpg"]:
        sibling_path = os.path.join(a.b_dir, basename + ext)
        if tf.io.gfile.exists(sibling_path):
            sibling = im.load(sibling_path)
