open_spiel
open_spiel copied to clipboard
OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games.
Hi, for the last couple of days I have been working on scripts for training and evaluating RL agents for multiplayer dominoes, but I have faced two main issues: 1....
Can I get some clarity on the input assumptions when calculating exploitability? See the following simple example: ``` from open_spiel.python.algorithms import sequence_form_lp, exploitability import pyspiel game = pyspiel.load_game('kuhn_poker') (v1, v2,...
Using Ubuntu 24.04 and Python 3.12, it seems like `model_test.py` is failing using Keras 3.1.1: ``` (venv) lanctot@nitro-exp:~/open_spiel/open_spiel/python/algorithms/alpha_zero$ python model_test.py . . . [ OK ] ModelTest.test_model_learns_simple0 ('mlp') [ RUN...
Running RCFR on Ubuntu 24.04 using Python 3.12 and Keras 3.1.1: ``` (venv) lanctot@nitro-exp:~/open_spiel/open_spiel/python/algorithms$ python rcfr_test.py 2024-04-13 08:00:16.251457: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different...
Looks like at some point open_spiel lost compatibility with spielviz due to changes to how GameParameter is compiled in pyspiel. Another user brought it up in a discussion and I...
Hello, I am investigating how effective is RL in the context of combinatorial problems. To this end, I would like to implement the [N-Queens puzzle](https://en.wikipedia.org/wiki/Eight_queens_puzzle), where _n_ queens has to...
Run on Ubuntu 24.04 using Python 3.12 and Keras 3.1.1: ``` (venv) lanctot@nitro-exp:~/open_spiel/open_spiel/python/algorithms$ python deep_cfr_tf2_test.py 2024-04-13 08:03:52.363130: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical...
Would it be possible to convert a `pyspiel` game's `State` object to a dictionary of array-likes and back again, in an efficient way? If that is currently not supported, would...
This pull request introduces the following changes based off issue #1254: **Added ToDict() and FromDict() methods to the State class in spiel.**: - These methods allow converting the game state...
Hi! As for the Negotiation game, I was expecting for the randomness of the initial game state, however, after conducting the code ``` game = pyspiel.load_game("negotiation") state = game.new_initial_state() if...