Adam variables are loaded with ml::train::model::load(), which allows loading the model weights.
However, model weights can be loaded with a call to ml::train::model::load() but adam weights can only be loaded when load() is called from inside the train() as adam parameters are only available during the training. The error message in the former case needs to be set properly.
Adam variables are loaded with
ml::train::model::load()
, which allows loading the model weights. However, model weights can be loaded with a call toml::train::model::load()
but adam weights can only be loaded whenload()
is called from inside thetrain()
as adam parameters are only available during the training. The error message in the former case needs to be set properly.