Deepov icon indicating copy to clipboard operation
Deepov copied to clipboard

Bug in grid_search

Open NavidHedjazian opened this issue 9 years ago • 3 comments

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 avatar Feb 05 '16 22:02 NavidHedjazian

set priority : critical

NavidHedjazian avatar Feb 17 '16 22:02 NavidHedjazian

happened only once ?

RomainGoussault avatar Feb 18 '16 15:02 RomainGoussault

it happens every tens of runs of cutechess-cli

NavidHedjazian avatar Feb 18 '16 16:02 NavidHedjazian