|
|
@@ -887,6 +887,10 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if pretrainModelFileName != "" { |
|
|
|
paramCode += " --pretrainmodelname" + "=" + pretrainModelFileName |
|
|
|
} |
|
|
|
|
|
|
|
var commandCode string |
|
|
|
if processorType == grampus.ProcessorTypeNPU { |
|
|
|
commandCode = "/bin/bash /home/work/run_train_for_openi.sh " + workDir + "code/" + strings.ToLower(repoName) + "/" + bootFile + " /tmp/log/train.log" + paramCode + ";" |
|
|
|