"git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "49200b08b198eafdff171af5164f8b2d44774057"
Unverified Commit 92d32dcf authored by QuanluZhang's avatar QuanluZhang Committed by GitHub
Browse files

fix experiment state bug (#629)

parent 80e35db1
...@@ -424,7 +424,7 @@ class NNIManager implements Manager { ...@@ -424,7 +424,7 @@ class NNIManager implements Manager {
if (this.dispatcher === undefined) { if (this.dispatcher === undefined) {
throw new Error('Error: tuner has not been setup'); throw new Error('Error: tuner has not been setup');
} }
let allFinishedTrialJobNum: number = 0; let allFinishedTrialJobNum: number = this.currSubmittedTrialNum;
let waitSubmittedToFinish: number; let waitSubmittedToFinish: number;
while (this.status.status !== 'STOPPING' && this.status.status !== 'STOPPED') { while (this.status.status !== 'STOPPING' && this.status.status !== 'STOPPED') {
const finishedTrialJobNum: number = await this.requestTrialJobsStatus(); const finishedTrialJobNum: number = await this.requestTrialJobsStatus();
......
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