google-research / football

Check out the new game server:
https://research-football.dev
Apache License 2.0
3.31k stars 1.28k forks source link

The default football engine is random, how to set it to be deterministic? #334

Open 353xiong opened 2 years ago

353xiong commented 2 years ago

in this function ?

def create_environment(env_name='', stacked=False, representation='extracted', rewards='scoring', write_goal_dumps=False, write_full_episode_dumps=False, render=False, write_video=False, dump_frequency=1, logdir='', extra_players=None, number_of_left_players_agent_controls=1, number_of_right_players_agent_controls=0, channel_dimensions=( observation_preprocessing.SMM_WIDTH, observation_preprocessing.SMM_HEIGHT), other_config_options={}): """Creates a Google Research Football environment.