Skip to content

Commit

Permalink
Merge pull request openai#3 from wwxFromTju/master
Browse files Browse the repository at this point in the history
fix some miss
  • Loading branch information
ryan-lowe committed Feb 26, 2018
2 parents 93f70a3 + 3598d31 commit 688a756
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ by following the `README`.

- To run the code, `cd` into the `experiments` directory and run `train.py`:

``python train.py --scenario simple.py``
``python train.py --scenario simple``

- You can replace `simple.py` with any environment in the MPE you'd like to run.
- You can replace `simple` with any environment in the MPE you'd like to run.

## Command-line options

Expand Down
2 changes: 1 addition & 1 deletion experiments/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def parse_args():
parser.add_argument("--plots-dir", type=str, default="./learning_curves/", help="directory where plot data is saved")
return parser.parse_args()

def mlp_model(input, num_outputs, scope, reuse=False, num_units=64, rnn_]cell=None):
def mlp_model(input, num_outputs, scope, reuse=False, num_units=64, rnn_cell=None):
# This model takes as input an observation and returns values of all actions
with tf.variable_scope(scope, reuse=reuse):
out = input
Expand Down
2 changes: 1 addition & 1 deletion maddpg/common/distributions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import tensorflow as tf
import numpy as np
import multiagent_rl.common.tf_util as U
import maddpg.common.tf_util as U
from tensorflow.python.ops import math_ops
from tensorflow.python.ops import nn

Expand Down

0 comments on commit 688a756

Please sign in to comment.