Unverified Commit e0ec38e7 authored by SparkSnail's avatar SparkSnail Committed by GitHub
Browse files

Fix resume bug (#3569)

parent 441267d1
......@@ -210,9 +210,12 @@ class NNIManager implements Manager {
return Promise.resolve();
}
this.log.info('Setup training service...');
const config: ExperimentConfig = this.experimentProfile.params;
this.trainingService = await this.initTrainingService(config);
this.config = config;
if (this.trainingService === undefined) {
this.log.info('Setup training service...');
this.trainingService = await this.initTrainingService(config);
}
this.log.info('Setup tuner...');
const dispatcherCommand: string = getMsgDispatcherCommand(config);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment