def define_jobs_context(self, context): boot_root = self.get_boot_root() data_central = self.get_data_central() GlobalConfig.global_load_dir('default') recipe_agentlearn_by_parallel_concurrent(context, data_central, Exp23.explogs_learn, n=8, only_agents=['exp23_diffeof', 'exp23_diffeo_fast']) recipe_agentlearn_by_parallel(context, data_central, Exp23.explogs_learn, only_agents=['stats2']) from diffeo2dds_learn.programs.devel.save_video import video_visualize_diffeo_stream1_robot for c, id_robot in iterate_context_names(context, Exp23.robots): out = os.path.join(context.get_output_dir(), 'videos', '%s-diffeo_stream1.mp4' % id_robot) c.comp_config(video_visualize_diffeo_stream1_robot, id_robot=id_robot, boot_root=boot_root, out=out) for id_robot in Exp23.robots: recipe_episodeready_by_convert2(context, boot_root, id_robot) jobs_publish_learning_agents_robots(context, boot_root, Exp23.agents, Exp23.robots)
def define_jobs_context(self, context): boot_root = self.get_boot_root() data_central = self.get_data_central() GlobalConfig.global_load_dir('default') recipe_agentlearn_by_parallel_concurrent(context, data_central, Exp22.explogs_learn) for id_robot in Exp22.robots: recipe_episodeready_by_convert2(context, boot_root, id_robot) jobs_publish_learning_agents_robots(context, boot_root, Exp22.agents, Exp22.robots)
def define_jobs_context(self, context): boot_root = self.get_boot_root() data_central = self.get_data_central() GlobalConfig.global_load_dir('default') recipe_agentlearn_by_parallel_concurrent(context, data_central, \ Exp24.explogs_learn, n=8, only_agents=['exp23_diffeof', 'exp23_diffeo_fast']) recipe_agentlearn_by_parallel(context, data_central, Exp24.explogs_learn, only_agents=['stats2']) for id_robot in Exp24.robots: recipe_episodeready_by_convert2(context, boot_root, id_robot) jobs_publish_learning_agents_robots(context, boot_root, Exp24.agents, Exp24.robots)