Browse Source

提交代码

tags/v1.22.9.2^2
ychao_1983 3 years ago
parent
commit
de0b416509
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/grampus.go

+ 1
- 1
routers/repo/grampus.go View File

@@ -844,7 +844,7 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo
command += "pwd;cd " + workDir + fmt.Sprintf(grampus.CommandPrepareScript, setting.Grampus.SyncScriptProject, setting.Grampus.SyncScriptProject)
//download code & dataset
if processorType == grampus.ProcessorTypeNPU {
commandDownload := "./downloader_for_obs " + setting.Bucket + " " + codeRemotePath + " " + grampus.CodeArchiveName + " " + dataRemotePath + " '" + datasetName + "';"
commandDownload := "./downloader_for_obs " + setting.Bucket + " " + codeRemotePath + " " + grampus.CodeArchiveName + " " + dataRemotePath + " '" + datasetName + "'"
commandDownload = processPretrainModelParameter(pretrainModelPath, pretrainModelFileName, commandDownload)
command += commandDownload
} else if processorType == grampus.ProcessorTypeGPU {


Loading…
Cancel
Save