Closed jon-weisz closed 11 years ago
The experiment manager should pull the grasps out of the database and store them to disk as the experiment progresses.
It should also be able to recall grasps from old experiments and push them to the server
experiment_manager should get an experiment_name member Then it should generate file names for each generation like
def get_grasp_file(generationnumber): return "%s%i_grasps.backup'%(self.experiment_name, generation_number)
Then
backup_grasps(generation): self.interface.incremental_backup(self.get_grasp_file(generation), ['Grasp']) self.interface.clear_grasp_table()
restore_grasps(generation): self.interface.incremental_restore(self.get_grasp_file(generation), ['Grasp'])
@elpuna What is the status of this?
The experiment manager should pull the grasps out of the database and store them to disk as the experiment progresses.
It should also be able to recall grasps from old experiments and push them to the server
experiment_manager should get an experiment_name member Then it should generate file names for each generation like
def get_grasp_file(generationnumber): return "%s%i_grasps.backup'%(self.experiment_name, generation_number)
Then
backup_grasps(generation): self.interface.incremental_backup(self.get_grasp_file(generation), ['Grasp']) self.interface.clear_grasp_table()
restore_grasps(generation): self.interface.incremental_restore(self.get_grasp_file(generation), ['Grasp'])