I am using python2
and when i run it, this error came up:
DeepRL-PPO-tutorial-master$ python ppo.py
File "ppo.py", line 198
*step_losses, _ = tf.get_default_session().run([self.ent, self.vf_loss, self.pol_loss, self.update_op],feed_dict = {self.obs_place: traj["ob"][cur:cur+self.batch_size],
^
SyntaxError: invalid syntax
In order to run it under python2, what should i change ?
I am using python2
and when i run it, this error came up:
DeepRL-PPO-tutorial-master$ python ppo.py
File "ppo.py", line 198
*step_losses, _ = tf.get_default_session().run([self.ent, self.vf_loss, self.pol_loss, self.update_op],feed_dict = {self.obs_place: traj["ob"][cur:cur+self.batch_size],
^
SyntaxError: invalid syntax
In order to run it under python2, what should i change ?