diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2023-06-12 20:16:04 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2023-06-12 20:16:04 +0200 |
commit | d4a81490bf1396089eb3dac5955a3a8e4cb26e37 (patch) | |
tree | f96febc7950c2742bc36f04ab13bff56851f2388 /train.py | |
parent | b08408d23186205e71dfc68634021e3236bfb45c (diff) | |
parent | 65ac3a6b050dcb88688cdc2654b1ed6693e9a160 (diff) | |
download | imago-d4a81490bf1396089eb3dac5955a3a8e4cb26e37.tar.gz imago-d4a81490bf1396089eb3dac5955a3a8e4cb26e37.zip |
Diffstat (limited to 'train.py')
-rwxr-xr-x | train.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -14,6 +14,10 @@ def main(): print(file) games.append(loadGameTree(file)) + if len(games) == 0: + print("Error: No game files provided. Provide some SGF files as arguments.") + sys.exit(0) + matches = [game.getMainLineOfPlay() for game in games] modelFile = "" |