Skip to content

Is there any way to run it with python2? #3

@wonchul-kim

Description

@wonchul-kim

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions