File size: 465 Bytes
e45abdb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from __future__ import annotations

import argparse
from pathlib import Path
import subprocess
import sys

ROOT = Path(__file__).resolve().parents[1]


def main() -> None:
    parser = argparse.ArgumentParser()
    parser.add_argument("--config", required=True)
    args = parser.parse_args()
    cmd = [sys.executable, "scripts/train_temporal_mlp.py", "--config", args.config]
    subprocess.run(cmd, cwd=ROOT, check=True)


if __name__ == "__main__":
    main()