chess-tuning-tools
chess-tuning-tools copied to clipboard
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
- Chess Tuning Tools version: 0.9.0
- Python version: 3.9.10
- Operating System: Debian unstable
What I Did
tune local -c config.json
ctt ran normally for 9 iterations, and crashed when starting the 10th iteration.
2022-07-05 09:00:57,991 INFO Resuming from existing optimizer in model.pkl.
2022-07-05 09:00:57,991 INFO Starting iteration 10
2022-07-05 09:00:58,832 INFO Computing current optimum was not successful. This can happen in rare cases and running the tuner again usually works.
Traceback (most recent call last):
File "/usr/local/bin/tune", line 8, in <module>
sys.exit(cli())
File "/home/hans/.local/lib/python3.9/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/hans/.local/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/hans/.local/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/hans/.local/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/hans/.local/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/hans/.local/lib/python3.9/site-packages/tune/cli.py", line 429, in local
iterations=np.array(performance)[:, 0],
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
A tar-archive with all the files in the working dir is available here: http://hansekbrand.se/temp/ctt-crash.tar