Play a bot with Error
yanger1997 opened this issue · 3 comments
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:
- Go to path ''
- Run command '....'
- Check output of '....'
- See error
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.
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
I get this error while running this:
UnboundLocalError: local variable 'action' referenced before assignment
I get the same error as @aashishpokharel . Were you able to resolve it?