def main(unused_argv):
sgf_dir = os.path.join(fsdb.eval_dir(), "target")
target = "tf," + os.path.join(fsdb.models_dir(), "target.pb")
models = load_train_times()
for i, (timestamp, name, path) in enumerate(models):
winrate = wait(evaluate_model(path, name, target, sgf_dir))
if winrate >= 0.50:
After Change
def main(unused_argv):
models = load_train_times()
for i, (timestamp, name, path) in enumerate(models[FLAGS.start:]):
winrate = evaluate_model(path)
if winrate >= 0.50:
break