| 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() | |