|
|
|
@@ -1551,7 +1551,6 @@ func TrainJobCreateVersion(ctx *context.Context, form auth.CreateModelArtsTrainJ |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
task, err := models.GetCloudbrainByJobIDAndVersionName(jobID, PreVersionName) |
|
|
|
if err != nil { |
|
|
|
log.Error("GetCloudbrainByJobIDAndVersionName(%s) failed:%v", jobID, err.Error()) |
|
|
|
@@ -2322,6 +2321,7 @@ func InferenceJobIndex(ctx *context.Context) { |
|
|
|
RepoID: repoId, |
|
|
|
Type: Type, |
|
|
|
New: MODEL_LATEST, |
|
|
|
Status: 0, |
|
|
|
}) |
|
|
|
ctx.Data["MODEL_COUNT"] = model_count |
|
|
|
|
|
|
|
@@ -2402,6 +2402,7 @@ func inferenceJobNewDataPrepare(ctx *context.Context) error { |
|
|
|
RepoID: repoId, |
|
|
|
Type: Type, |
|
|
|
New: MODEL_LATEST, |
|
|
|
Status: 0, |
|
|
|
}) |
|
|
|
ctx.Data["MODEL_COUNT"] = model_count |
|
|
|
ctx.Data["datasetType"] = models.TypeCloudBrainTwo |
|
|
|
|