Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Play a bot with Error #146

Open
yanger1997 opened this issue May 24, 2022 · 3 comments
Open

Play a bot with Error #146

yanger1997 opened this issue May 24, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@yanger1997
Copy link

Describe the bug
After clustering and training, there is a error with playing a bot, like the attachment.

To Reproduce
Steps to reproduce the behavior:

  1. Go to path ''
  2. Run command '....'
  3. Check output of '....'
  4. See error

poker_ai — -zsh — 89×56 2022-05-24 21-47-01

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [Mac OS X]
  • Python version: [3.7]

Additional context
Add any other context about the problem here.

@yanger1997 yanger1997 added the bug Something isn't working label May 24, 2022
@jaimeggb
Copy link

jaimeggb commented Nov 4, 2022

@yanger1997 @fedden

You must first run the 'poker_ai cluster' and 'poker_ai train start' commands.

These commands will give you the files 'agent.joblib', 'server.gz', 'card_info_lut.joblib', 'centroid.joblib', 'config.yaml' and 'server.gz'. These files are needed to run 'poker_ai play'.

Once you have these files, create a folder in the 'research' folder and call it 'blueprint_algo'. Store those files there.

Then run this command:

poker_ai play --lut_path /home/jupyter/poker_ai/research/blueprint_algo --pickle_dir False --agent /home/jupyter/poker_ai/research/blueprint_algo/_2022_10_19_20_44_25_523196/agent.joblib --strategy_path /home/jupyter/poker_ai/research/blueprint_algo/_2022_10_19_20_44_25_523196/server.gz --debug_quick_start

@aashishpokharel
Copy link

I get this error while running this:
UnboundLocalError: local variable 'action' referenced before assignment

@shmmathur
Copy link

I get the same error as @aashishpokharel . Were you able to resolve it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants