Meta-optimization / L2L

Learning to Learn: Gradient-free Optimization framework
https://meta-optimization.github.io/L2L/
GNU General Public License v3.0
15 stars 14 forks source link

Set generation number from trajectory in the optimzier #82

Open alperyeg opened 2 years ago

alperyeg commented 2 years ago

The PR #75 introduced a more generic iteration over generations, e.g. to continue finished runs. However, the new run can crash if the generation ID is set to 0 inside the optimizer. Rather it should be set from the trajectory as self.g = traj.individual.generation.