Tried the tune.py and after 100 / 1000 games I sent ctrl+c, it tried to summarize best values but looking at the task manager it is consuming memory as high as 500 MB per sec. At around 3GB of memory usage (my pc has 12 GB), it crashed with the following later console messages. I could not get the earlier part of the console error messages because it is clipped.
Traceback (most recent call last):
File "C:\Python37\lib\asyncio\runners.py", line 43, in run
return loop.run_until_complete(main)
File "C:\Python37\lib\asyncio\base_events.py", line 571, in run_until_complete
self.run_forever()
File "C:\Python37\lib\asyncio\base_events.py", line 539, in run_forever
self._run_once()
File "C:\Python37\lib\asyncio\base_events.py", line 1775, in _run_once
handle._run()
File "C:\Python37\lib\asyncio\events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "tune.py", line 220, in on_done
opt.tell(x, -y) # opt is minimizing
File "C:\Python37\lib\site-packages\skopt\optimizer\optimizer.py", line 443, i
n tell
return self._tell(x, y, fit=fit)
File "C:\Python37\lib\site-packages\skopt\optimizer\optimizer.py", line 486, i
n _tell
est.fit(self.space.transform(self.Xi), self.yi)
File "C:\Python37\lib\site-packages\skopt\learning\gaussian_process\gpr.py", l
ine 195, in fit
super(GaussianProcessRegressor, self).fit(X, y)
File "C:\Python37\lib\site-packages\sklearn\gaussian_process\gpr.py", line 221
, in fit
self.kernel_.bounds))]
File "C:\Python37\lib\site-packages\sklearn\gaussian_process\gpr.py", line 465
, in _constrained_optimization
fmin_l_bfgs_b(obj_func, initial_theta, bounds=bounds)
File "C:\Python37\lib\site-packages\scipy\optimize\lbfgsb.py", line 199, in fm
in_l_bfgs_b
**opts)
File "C:\Python37\lib\site-packages\scipy\optimize\lbfgsb.py", line 335, in _m
inimize_lbfgsb
f, g = func_and_grad(x)
File "C:\Python37\lib\site-packages\scipy\optimize\lbfgsb.py", line 285, in fu
nc_and_grad
f = fun(x, *args)
File "C:\Python37\lib\site-packages\scipy\optimize\optimize.py", line 326, in
function_wrapper
return function(*(wrapper_args + args))
File "C:\Python37\lib\site-packages\scipy\optimize\optimize.py", line 64, in _
_call__
fg = self.fun(x, *args)
File "C:\Python37\lib\site-packages\sklearn\gaussian_process\gpr.py", line 213
, in obj_func
theta, eval_gradient=True)
File "C:\Python37\lib\site-packages\sklearn\gaussian_process\gpr.py", line 427
, in log_marginal_likelihood
K[np.diag_indices_from(K)] += self.alpha
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python37\lib\asyncio\events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "C:\Python37\lib\asyncio\base_subprocess.py", line 247, in _call_connecti
on_lost
self._protocol.connection_lost(exc)
File "C:\Python37\lib\site-packages\chess\engine.py", line 679, in connection_
lost
self.command._engine_terminated(self, code)
File "C:\Python37\lib\site-packages\chess\engine.py", line 917, in _engine_ter
minated
self.finished.set_result(None)
asyncio.base_futures.InvalidStateError: invalid state