From 4176768bdebe97443f1797020c346ae2f2dea6a3 Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 7 Jun 2022 11:51:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- templates/repo/modelmanage/convertIndex.tmpl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/repo/modelmanage/convertIndex.tmpl b/templates/repo/modelmanage/convertIndex.tmpl index 37436e780..dcb2b1771 100644 --- a/templates/repo/modelmanage/convertIndex.tmpl +++ b/templates/repo/modelmanage/convertIndex.tmpl @@ -80,16 +80,16 @@ {{.Status}} -
- {{.SrcEngine}} +
+ {{if eq .SrcEngine 0}}Pytorch {{else if eq .SrcEngine 1}}Tensorflow{{else if eq .SrcEngine 2}}MindSpore {{end}}
-
- {{.DestFormat}} +
+ {{if eq .DestFormat 0}}ONNX {{else if eq .DestFormat 1}}TensorRT {{end}}
-
+
{{TimeSinceUnix .CreatedUnix $.Lang}}
-
+
{{.TrainJobDuration}}
@@ -235,8 +235,8 @@