automl / NASLib

NASLib is a Neural Architecture Search (NAS) library for facilitating NAS research for the community by providing interfaces to several state-of-the-art NAS search spaces and optimizers.
Apache License 2.0
528 stars 117 forks source link

Loading model #168

Open shakibamrd opened 1 year ago

shakibamrd commented 1 year ago

saves optimizer.get_checkpointables() return values in checkpoint, and is also able to load them. changed: trainer.py most of optimizer.py.

Please review the use of _set_checkpoint() in trainer.py which is before calling optimizer.before_training(). In the metaclass of the optimizers it is mentioned that _set_checkpoint() should be used c