diff --git a/routers/repo/grampus.go b/routers/repo/grampus.go index e9845c8ac..8c759428d 100755 --- a/routers/repo/grampus.go +++ b/routers/repo/grampus.go @@ -612,7 +612,7 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo } //check download result - commandCheckRes := "bash -c \"[[ $? -eq 0 ]] && exit 0 || exit -1;\"" + commandCheckRes := "bash -c \"[[ $? -eq 0 ]] && exit 0 || exit -1;\";" command += commandCheckRes //unzip code & dataset @@ -624,10 +624,10 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo command += commandUnzip //check unzip result - commandCheckRes = "bash -c \"[[ $? -eq 0 ]] && exit 0 || exit -1;\"" + commandCheckRes = "bash -c \"[[ $? -eq 0 ]] && exit 0 || exit -1;\";" command += commandCheckRes - command += "echo \"unzip finished;start to exec code;\"" + command += "echo \"unzip finished;start to exec code;\";" //exec code var parameters models.Parameters diff --git a/templates/repo/grampus/trainjob/npu/new.tmpl b/templates/repo/grampus/trainjob/npu/new.tmpl index 4f314964e..a61f2ef5f 100755 --- a/templates/repo/grampus/trainjob/npu/new.tmpl +++ b/templates/repo/grampus/trainjob/npu/new.tmpl @@ -216,8 +216,7 @@ {{template "base/footer" .}}