Deep-CFR icon indicating copy to clipboard operation
Deep-CFR copied to clipboard

Update TrainingProfile.py

Open diditforlulz273 opened this issue 4 years ago • 0 comments

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.

diditforlulz273 avatar May 06 '20 18:05 diditforlulz273