From 7d19ca2df356da7ed281044bd764191d0f3105ac Mon Sep 17 00:00:00 2001 From: Karel Ha Date: Wed, 27 Dec 2017 00:04:29 +0100 Subject: [PATCH] Comment on incresing stack size for bet sizes in response to issue #6 --- doc/manual/tutorial.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/manual/tutorial.md b/doc/manual/tutorial.md index 8200f02..a539dc4 100644 --- a/doc/manual/tutorial.md +++ b/doc/manual/tutorial.md @@ -105,12 +105,22 @@ The tree that you just produced only contains `fold`, `call`, `pot bet` and `Source/Settings/arguments.lua`. The file contains multiple arguments you can change, including `params.bet_sizing = {1}` which specifies the allowed bet sizes. Try changing it into `params.bet_sizing = {1, 2}` to allow not only -pot-sized bets, but also bets of twice the pot size. To see the results, run +pot-sized bets, but also bets of twice the pot size. To see the results, run ```bash th Tree/Tests/test_tree_visualiser.lua ``` again. +Do not forget to also make stack sizes high enough so that actions `pot bet`, `2-pot bet`, +`3-pot bet` etc. can take any effect. For example, in the previous case of +`params.bet_sizing = {1, 2}`, the pot size after the first round is `300 + 300 = 600`, +while the stack sizes are `1200`. Hence, a `2-pot bet` would be greater greater than +player's stack size of `1200`. We thus need to increase players' stack sizes, e.g., +```lua +params.stack = 12000 +``` +in `Source/Settings/arguments.lua`. See [Issue #6](https://github.com/lifrordi/DeepStack-Leduc/issues/6) for more details. + These bet sizes will limit the options the agent considers when making an action during the game. Note that this does **not** limit the agent from understanding any other bet size the opponent can make. @@ -394,4 +404,4 @@ If you trained your model on the GPU, but want to run DeepStack on a machine that has no GPU, you need to convert the model. There is a simple script `Source/Nn/cpu_gpu_model_converter.lua` that does exactly that. It also contains a function for converting from a CPU model to a GPU model, if you -need to do the conversion the other way. \ No newline at end of file +need to do the conversion the other way.