def jobs_servo(context, data_central, combinations, explogs_test): recipe_agent_servo(context, create_report=True) for c, id_robot, id_agent in iterate_context_combinations(context, combinations): for cc, e in iterate_context_names(c, explogs_test): jobs_servo_field(cc, data_central=data_central, id_robot=id_robot, id_agent=id_agent, id_episode=e.id_episode, **e.params)
def jobs_learn_parallel(context, data_central, explogs_learn, agents, robots, episodes_per_tranche=50): """ Learn parallel """ boot_root = data_central.get_boot_root() recipe_agentlearn_by_parallel(context, data_central, explogs_learn, episodes_per_tranche=episodes_per_tranche) recipe_agent_servo(context, create_report=True) for id_robot in robots: recipe_episodeready_by_convert2(context, boot_root, id_robot) jobs_publish_learning_agents_robots(context, boot_root, agents, robots)