Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed #230

Open
jabolcni opened this issue Dec 18, 2023 · 0 comments

Comments

@jabolcni
Copy link

  • Chess Tuning Tools version: latest (0.9.5)
  • Python version: 3.9
  • Operating System: Windows

Description

I receive error related to GP kernel. Iteration 16 is the first iteration where GP kernel is not None.

2023-12-18 12:39:25,597 INFO GP sampling finished (14.51846s)
2023-12-18 12:39:25,597 DEBUG GP kernel: 0.297**2 * Matern(length_scale=[0.254, 0.229], nu=2.5) + WhiteKernel(noise_level=1.23e-06)
2023-12-18 12:39:25,620 INFO Starting iteration 16
Traceback (most recent call last):
File "C:\Users\janezp.conda\envs\tuning01\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\janezp.conda\envs\tuning01\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\janezp.conda\envs\tuning01\Scripts\tune.exe_main
.py", line 7, in
File "C:\Users\janezp.conda\envs\tuning01\lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
File "C:\Users\janezp.conda\envs\tuning01\lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
File "C:\Users\janezp.conda\envs\tuning01\lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\janezp.conda\envs\tuning01\lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\janezp.conda\envs\tuning01\lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "C:\Users\janezp.conda\envs\tuning01\lib\site-packages\tune\cli.py", line 454, in local
iterations=np.array(performance)[:, 0],
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

What I Did

tune local -c simple_tune2.json --verbose

My tuning script is very basic. I use latest version of cutechess-cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant