Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Commit

Permalink
Revert change map in environment
Browse files Browse the repository at this point in the history
Without noticed changed the map to standard in the last commit.
Reverted that change to use the three variant as supposed.
Also reverted the comments on the agent.
  • Loading branch information
BlueDi committed Jul 22, 2019
1 parent d205bb0 commit 9425cf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions deepdip/deepdip_stable-baselines.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ def plot_rewards():

if __name__ == '__main__':
env = make_env(gym_env_id)
#train(env, total_timesteps)
#evaluate(env, evaluate_timesteps)
#plot_results(log_dir)
train(env, total_timesteps)
evaluate(env, evaluate_timesteps)
plot_results(log_dir)
plot_rewards()
env.close()

2 changes: 1 addition & 1 deletion gym-diplomacy/gym_diplomacy/envs/diplomacy_strategy_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
### CONSTANTS
NUMBER_OF_ACTIONS = 3
MAPS = ['mini', 'small', 'three', 'standard']
CURRENT_MAP = MAPS[3]
CURRENT_MAP = MAPS[2]
PLAYERS = {'mini':2, 'small':2, 'three':3, 'standard':7}
NUMBER_OF_PLAYERS = PLAYERS[CURRENT_MAP]
REGIONS = {'mini':10, 'small':19, 'three':37, 'standard':121}
Expand Down

0 comments on commit 9425cf3

Please sign in to comment.