You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In global_variables.sh, find the OPEN_SPIEL_BUILD_WITH_LIBNOP variable and set its value to "ON".
In global_variables.sh, find the OPEN_SPIEL_BUILD_WITH_LIBTORCH variable and set its value to "ON".
In global_variables.sh, find the OPEN_SPIEL_BUILD_WITH_LIBTORCH_DOWNLOAD_URL variable and set its value to
the LibTorch version URL compatible with your OS and hardware (see the
comments in global_variables.sh for the URLs):
Download libnop and the specified version of LibTorch by running:
$ ./install.sh
Build OpenSpiel to compile LibTorch-dependent and libnop-dependent code
(such as LibTorch AlphaZero).
$ ./open_spiel/scripts/build_and_run_tests.sh
the error this generates when running open_spiel/scripts/build_and_run_tests.sh:
.../open_spiel/algorithms/dqn_torch/dqn_torch_test.cc:25:10: fatal error: 'open_spiel/games/efg_game.h' file not found #include "open_spiel/games/efg_game.h"
This error is caused by 2 include statements in open_spiel/algorithms/dqn_torch/dqn_torch_test.cc
It was seemingly introduced when the referenced files were moved but these statements were not updated.
steps to reproduce (from alphazero libtorch build instructions )
OPEN_SPIEL_BUILD_WITH_LIBNOP
variable and set its value to"ON"
.OPEN_SPIEL_BUILD_WITH_LIBTORCH
variable and set its value to"ON"
.OPEN_SPIEL_BUILD_WITH_LIBTORCH_DOWNLOAD_URL
variable and set its value tothe LibTorch version URL compatible with your OS and hardware (see the
comments in global_variables.sh for the URLs):
(such as LibTorch AlphaZero).
the error this generates when running open_spiel/scripts/build_and_run_tests.sh:
.../open_spiel/algorithms/dqn_torch/dqn_torch_test.cc:25:10: fatal error: 'open_spiel/games/efg_game.h' file not found #include "open_spiel/games/efg_game.h"
This error is caused by 2 include statements in open_spiel/algorithms/dqn_torch/dqn_torch_test.cc
It was seemingly introduced when the referenced files were moved but these statements were not updated.
#include "open_spiel/games/efg_game.h"
#include "open_spiel/games/efg_game_data.h"
The text was updated successfully, but these errors were encountered: