RomainGoussault / Deepov

C++ Chess Engine
GNU General Public License v2.0
66 stars 15 forks source link

Bug in grid_search #35

Open NavidHedjazian opened 8 years ago

NavidHedjazian commented 8 years ago

I had this error while making a test : (happened only once)

runCutechess with command : ./cutechess-cli.sh -engine cmd=./Deepov dir=../ option.timeDivider=81 -engine cmd=./Deepov dir=../ -each proto=uci tc=100/0.5+0.01 -rounds 5 -pgnout a.out -openings file=openings.pgn -recover -repeat -site navid-N551JX -concurrency 7 Traceback (most recent call last): File "./tuner.py", line 99, in main(sys.argv[1:]) # sys.argv[0] is the name of the script File "./tuner.py", line 57, in main best,elo=opt_gridSearch(parametersList) File "/home/navid/Chess/Deepov/DeepovTuning/optRoutines.py", line 44, in opt_gridSearch recursive_iterate(parametersList,0,n) File "/home/navid/Chess/Deepov/DeepovTuning/optRoutines.py", line 59, in recursive_iterate score = evaluate(command) File "/home/navid/Chess/Deepov/DeepovTuning/deepovFunction.py", line 19, in evaluate score = int(re.search(r'[-+]?\d+', s.decode('UTF-8')).group()) AttributeError: 'NoneType' object has no attribute 'group'

NavidHedjazian commented 8 years ago

set priority : critical

RomainGoussault commented 8 years ago

happened only once ?

NavidHedjazian commented 8 years ago

it happens every tens of runs of cutechess-cli