You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
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 ?
The text was updated successfully, but these errors were encountered: