This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
fix issue
tags/v1.22.11.1^2
zhoupzh
3 years ago
parent
1741e76b5e
commit
4905f4b0ec
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
routers/api/v1/repo/cloudbrain.go
+ 6
- 0
routers/api/v1/repo/cloudbrain.go
View File
@@ -573,6 +573,12 @@ func CloudbrainGetLog(ctx *context.APIContext) {
}
}
}
else {
if startLine > 0 {
startLine += 1
endLine += 1
}
}
result = getLogFromModelDir(job.JobName, startLine, endLine, resultPath)
if result == nil {
log.Error("GetJobLog failed: %v", err, ctx.Data["MsgID"])
Write
Preview
Loading…
Cancel
Save