Open nebw opened 6 years ago
from subprocess import Popen, PIPE
p = Popen(["gnugo","--mode", "gtp"],stdin=PIPE,stdout=PIPE)
p.stdin.write('showboard\n')
line = ""
rd = p.stdout.readline()
while( not rd == "\n"):
line += rd + "\n"
rd = p.stdout.readline()
print line # prints the board
python/Model Evaluation/ratings.txt
file, which will be used for estimating the rating (when playing against different models)["./gtp"]
.["./gtp", "--boardsize","9", "--komi","6"]
, note that all parameters should be strings. python test#x#.py
pachi
.pachi
binary file to the folder of test9x9_pachi.py
and run python test9x9_pachi.py
.final_score
to get the winner, which has led in some cases to complete playing the game until the end, which took a long a time.estimate_score
; since the match is already done, the estimated score is the actual end score.Umstieg vom Glicko2-Rating-System zurück zu dem klassischen Elo-System, da sich das Glicko2 System wie nicht gewünscht verhielt (was wohl an der sehr geringen Playerpool liegt). Die entsprechenden Anpassungen und Implementierungen haben länger gedauert als geplant und uns fast den ganzen Tag gekostet.
Anpassung an die Änderungen im Masterbranch (config system)
Bugfixes (Falls ein anderers Programm als Argos in einem Match aufgab führte das zu einem Error aufgrund eines Fehlers in der Logik des Programms. Dies war uns erst jetzt aufgefallen, da Argos zum ersten Mal im Match gegen ein anderes Programm gewann)
[
anfangen werden ignoriert ['gnugo', '--mode', 'gtp', '--boardsize', '9']
)[1550, 20]
)[1000,40]
str(["param1", "param2", ...])
, geprintet und dann kopierttest9x9_pachi.py
and test9x9_gnugo.py
/python/Model Evaluation/rating/ratings0
hast also been updated
/python/Model Evaluation/rating/ratings#
file, where # is the highest number found (the system will read the ratings from the last file)
Current Plan (28/02/2018):
For the task of evaluating the performance of our current model we have planned the following:
Find "anchor" models:
Let the models play to find the ELO Rating:
Implement the ability for our model to play against other versions of itself:
This is a rough sketch of our plan for the coming two weeks and it may change.