refactor(config): instantiate optimizer and scheduler from yaml
This change leverages hydra's instantiate API to create instances of the optimizer and scheduler specified inside the config file. The change improves extensibility.
This change leverages hydra's instantiate API to create instances of the optimizer and scheduler specified inside the config file. The change improves extensibility.