diff options
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 = "" |