File size: 516 Bytes
feec0bf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import argparse
import yaml
from preprocessor import dataverse, emov_db
def main(config):
if "Dataverse" in config["dataset"]:
dataverse.prepare_align(config)
if "EmoV_DB" in config["dataset"]:
emov_db.prepare_align(config)
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("config", type=str, help="path to preprocess.yaml")
args = parser.parse_args()
config = yaml.load(open(args.config, "r"), Loader=yaml.FullLoader)
main(config)
|