def make_env(self, seed=-1, render_mode=False):
     self.render_mode = render_mode
     self.env = make_env(self.env_name, agent=self, seed=seed)
示例#2
0
 def make_env(self, seed=-1, render_mode=False):
     self.render_mode = render_mode
     self.env = make_env(self.env_name,
                         agent=self,
                         seed=seed,
                         initial_z_filename=initial_z_filename)