slumbot2019 icon indicating copy to clipboard operation
slumbot2019 copied to clipboard

show_probs_at_node segfaults -> how to look at flop strategy?

Open xgshark opened this issue 4 years ago • 3 comments

I ran the MCCFR example and now want to inspect the strategy.

Preflop works like a charm: ../bin/show_preflop_strategy holdem_params nhs2_params mb1b1_params tcfr_params 0 cum

I do get the same result using this: ../bin/show_probs_at_node holdem_params nhs2_params mb1b1_params tcfr_params 0 cum ""

This gives the strategy for second player after first player limps: ../bin/show_probs_at_node holdem_params nhs2_params mb1b1_params tcfr_params 0 cum c

This however returns a segmentation fault(I am not out of memory): ../bin/show_probs_at_node holdem_params nhs2_params mb1b1_params tcfr_params 0 cum cc

How can I see the flop strategy? How do I encode the board cards in the betting sequence?

Thanks for any hints.

xgshark avatar May 27 '21 21:05 xgshark

I can take a look over the weekend.

ericgjackson avatar May 28 '21 15:05 ericgjackson

Should be working now.

ericgjackson avatar May 29 '21 18:05 ericgjackson

Thank you! That works now.

Is there any way to query specific boards or hole cards? The results are quite long and take a long time:

../bin/show_probs_at_node holdem_params nhs2_params mb1b1_params tcfr_params 0 cum ccc | wc -l 2063880

The result is longer for later streets.

Can you point me to the part of the source code where the agent queries a strategy for a specific postflop situation?

Thanks again.

xgshark avatar May 30 '21 21:05 xgshark