Skip to content

Exception in callback run (on tune.py)... #8

Description

@pmcastro

I have these errors:

python tune.py danasah800_uci -opp-engine danasah730_uci -concurrency=7 -movetime 200 -book book.pgn -games-file tune.pgn -opt Parameter1 -opt Parameter2 -n 500 -log-file data.log

Starting game 304/334 with {'Parameter1': 200, 'Parameter2': 80}
[196, 80] => 1

Exception in callback run.<locals>.on_done([200, 80], 2)(<Task finishe...>], -2, None)>) at tune.py:259 handle: <Handle run.<locals>.on_done([200, 80], 2)(<Task finishe...>], -2, None)>) at tune.py:259> Traceback (most recent call last): File "C:\Users\pecas\AppData\Local\Programs\Python\Python37-32\lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "tune.py", line 272, in on_done opt.tell(x, -y) # opt is minimizing File "C:\Users\pecas\AppData\Local\Programs\Python\Python37-32\lib\site-packages\skopt\optimizer\optimizer.py", line 443, in tell return self._tell(x, y, fit=fit) File "C:\Users\pecas\AppData\Local\Programs\Python\Python37-32\lib\site-packages\skopt\optimizer\optimizer.py", line 502, in _tell acq_func_kwargs=self.acq_func_kwargs) File "C:\Users\pecas\AppData\Local\Programs\Python\Python37-32\lib\site-packages\skopt\acquisition.py", line 50, in _gaussian_acquisition func_and_grad = gaussian_ei(X, model, y_opt, xi, return_grad) File "C:\Users\pecas\AppData\Local\Programs\Python\Python37-32\lib\site-packages\skopt\acquisition.py", line 276, in gaussian_ei mu, std = model.predict(X, return_std=True) File "C:\Users\pecas\AppData\Local\Programs\Python\Python37-32\lib\site-packages\skopt\learning\gaussian_process\gpr.py", line 324, in predict y_var -= np.einsum("ki,kj,ij->k", K_trans, K_trans, K_inv) File "<__array_function__ internals>", line 6, in einsum File "C:\Users\pecas\AppData\Local\Programs\Python\Python37-32\lib\site-packages\numpy\core\einsumfunc.py", line 1356, in einsum return c_einsum(*operands, **kwargs) ValueError: iterator is too large

Exception in callback run.<locals>.on_done([197, 80], 0)(<Task finishe...>], -1, None)>) at tune.py:259 handle: <Handle run.<locals>.on_done([197, 80], 0)(<Task finishe...>], -1, None)>) at tune.py:259> Traceback (most recent call last): File "C:\Users\pecas\AppData\Local\Programs\Python\Python37-32\lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "tune.py", line 272, in on_done opt.tell(x, -y) # opt is minimizing File "C:\Users\pecas\AppData\Local\Programs\Python\Python37-32\lib\site-packages\skopt\optimizer\optimizer.py", line 443, in tell return self._tell(x, y, fit=fit) File "C:\Users\pecas\AppData\Local\Programs\Python\Python37-32\lib\site-packages\skopt\optimizer\optimizer.py", line 489, in _tell self.gains_ -= est.predict(np.vstack(self.next_xs_)) File "<__array_function__ internals>", line 6, in vstack File "C:\Users\pecas\AppData\Local\Programs\Python\Python37-32\lib\site-packages\numpy\core\shape_base.py", line 282, in vstack return _nx.concatenate(arrs, 0) File "<__array_function__ internals>", line 6, in concatenate ValueError: need at least one array to concatenate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions