fedden / poker_ai

🤖 An Open Source Texas Hold'em AI
Other
1.37k stars 367 forks source link

Can't find strategy gz file #98

Closed adamkleingit closed 4 years ago

adamkleingit commented 4 years ago

Hi, first of all thanks for this Repo!

I was trying to run the terminal runner using the command from the README file:

    python -m pluribus.terminal.runner                                       \
        --agent offline                                                      \
        --pickle_dir ./research/blueprint_algo                               \
        --strategy_path ./research/blueprint_algo/offline_strategy_285800.gz \
        --no_debug_quick_start

But got some errors on the pickle_dir. I changed it to point to './research/clustering/data' and also changed:

            "flop_lossy_2.pkl",
            "turn_lossy_2.pkl",
            "river_lossy_2.pkl",

to:

            "flop_lossy.pkl",
            "turn_lossy.pkl",
            "river_lossy.pkl",

But I still have an error on not finding the strategy gz file. Is that something I can create from the code somehow? Or is it available outside the git repo?

Thanks!

big-c-note commented 4 years ago

Hey Adam, thanks for your interest in the repo.

In the coming weeks we'll be creating documentation and a release schedule that will allow us to better support this question. At the moment I can say that you have to train your own strategy. Please stay tuned as we're working on documenting this process. I'll leave this issue open, and we can link to the documentation when the time comes.

big-c-note commented 4 years ago

99

adamkleingit commented 4 years ago

Thanks for the work you're doing!

On Sun, May 31, 2020, 17:34 Colin Manko notifications@github.com wrote:

99 https://github.com/fedden/poker_ai/issues/99

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fedden/poker_ai/issues/98#issuecomment-636479503, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGZESTM2KD2YQUHHRTSRPLRUJTIJANCNFSM4NOU52MA .

fedden commented 4 years ago

please see further documentation of the process from the README file :)

amirfarazmand commented 3 years ago

Adam were you able to fin the .pkl file, I get this error ValueError: File path not found .\preflop_lossless.pkl. Ensure lut_path is set to directory containing pickle files

amirfarazmand commented 3 years ago

I cant find any doc regarding the strategy file, is anyway to share this file?

File "C:\Users\Amir\PycharmProjects\poker_ai\poker_ai\terminal\runner.py", line 66, in run_terminal_app offline_strategy = offline_strategy_dict['strategy'] KeyError: 'strategy'