forked from rogueinabox/rogueinabox
-
Notifications
You must be signed in to change notification settings - Fork 1
2 ~ Training and configuration
Jackal93 edited this page Apr 19, 2018
·
2 revisions
In order to train the agent, execute the following command:
bash train.shThis will automatically load a previous saved checkpoint, if one exists. Training progress is automatically saved at a configurable interval.
The file A3C/options.py provides all the hyper-parameters values, which can be set to any value.
Of particular note:
-
state_generator: state generator to be used -
reward_generator: reward generator to be used -
parallel_size: number of threads -
steps_per_episode: maximum number of steps per episode -
match_count_for_evaluation: number of the most recent episodes to use for evaluating the agent -
save_interval_step: frequency of saves in training steps