diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2023-06-02 13:02:08 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2023-06-02 13:02:08 +0200 |
commit | 88fbf5f8919211cfa06116a76f42fb26ec9f2e18 (patch) | |
tree | 962d26ca9b07bb28fae607e4d8ba4008893b1900 /train.py | |
parent | 2d895e4abb26eccefe6b4bc201fd60eb79600e3e (diff) | |
download | imago-88fbf5f8919211cfa06116a76f42fb26ec9f2e18.tar.gz imago-88fbf5f8919211cfa06116a76f42fb26ec9f2e18.zip |
Second revision and added rules of the game.
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 = "" |