def mini_imagenet_folders():
    train_folder = './train'
    test_folder = './test'
    metatrain_folders = [os.path.join(train_folder, label) for label in os.listdir(train_folder) if os.path.isdir(os.path.join(train_folder, label))]
    metatest_folders = [os.path.join(test_folder, label) for label in os.listdir(test_folder) if os.path.isdir(os.path.join(test_folder, label))]
    random.seed(1)
    random.shuffle(metatrain_folders)
    random.shuffle(metatest_folders)
    return (metatrain_folders, metatest_folders)
def mini_imagenet_folders():
    train_folder = './train'
    test_folder = './test'
    metatrain_folders = [os.path.join(train_folder, label) for label in os.listdir(train_folder) if os.path.isdir(os.path.join(train_folder, label))]
    metatest_folders = [os.path.join(test_folder, label) for label in os.listdir(test_folder) if os.path.isdir(os.path.join(test_folder, label))]
    random.seed(1)
    random.shuffle(metatrain_folders)
    random.shuffle(metatest_folders)
    return (metatrain_folders, metatest_folders)