Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's too slow!!! #65

Open
wukan1986 opened this issue Jan 3, 2018 · 2 comments
Open

It's too slow!!! #65

wukan1986 opened this issue Jan 3, 2018 · 2 comments

Comments

@wukan1986
Copy link

PyPokerEngine is a very good framwork for poker AI development.but it is too slow!

I test it use the FishPlayer, and run 10 rounds,it take 10s on my computer.
I test another repo, https://github.com/chasembowers/poker-learn ,it can run 10000 rounds in 1 minute on my computer.

So, I use PyCharm Profile to check it.
the function _calc_hand_info_flg take more than 70% time.

Finally,I recommend use https://github.com/worldveil/deuces to speed up.
a lot of repo on github are using deuces
it's on py2, maybe you can use the fork version https://github.com/ihendley/treys

@lorrp1
Copy link

lorrp1 commented Jun 14, 2018

they are totally different machine learning algos, this is used for reinforcement learning, poker-learn uses "common" regression

@allenfrostline
Copy link

+1 on the idea of using treys to speed up evaluation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants