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

Update TrainingProfile.py #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

diditforlulz273
Copy link

Currently game_env_cls is hardcoded in TrainingProfile class, which allows to run any limit-based game by passing to Driver an instance of TrainingProfile with a parameter like game_cls=Flop5Holdem.
However, passing game_cls=DiscretizedNLHoldem or any other not limit based game class will result in an error.
Proposing to make game_env_cls accessible outside of TrainingProfile as a starting parameter and set a default(init) value to "FlatLimitPokerEnvBuilder" to keep provided examples' work correct.

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

Successfully merging this pull request may close these issues.

1 participant