"examples/vscode:/vscode.git/clone" did not exist on "7a5077e4aa8e30533b6fe1f0716b2c28cf6f661b"
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 { ...@@ -210,9 +210,12 @@ class NNIManager implements Manager {
return Promise.resolve(); return Promise.resolve();
} }
this.log.info('Setup training service...');
const config: ExperimentConfig = this.experimentProfile.params; const config: ExperimentConfig = this.experimentProfile.params;
this.config = config;
if (this.trainingService === undefined) {
this.log.info('Setup training service...');
this.trainingService = await this.initTrainingService(config); this.trainingService = await this.initTrainingService(config);
}
this.log.info('Setup tuner...'); this.log.info('Setup tuner...');
const dispatcherCommand: string = getMsgDispatcherCommand(config); 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