From 88b1445080725ed3090f2d4d1e1e1e35a9a96336 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Fri, 5 Aug 2022 10:12:30 +0800 Subject: [PATCH] fix issue --- options/locale/locale_en-US.ini | 3 +- options/locale/locale_zh-CN.ini | 3 +- templates/repo/cloudbrain/inference/new.tmpl | 3 + templates/repo/cloudbrain/new.tmpl | 212 +++++++----------- .../repo/modelarts/inferencejob/new.tmpl | 2 +- templates/repo/modelmanage/convertIndex.tmpl | 5 +- web_src/js/features/cloudrbanin.js | 87 ++++--- 7 files changed, 130 insertions(+), 185 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index cb0ef205f..2a02e0e50 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -3116,7 +3116,8 @@ dataset_path_rule = The dataset location is stored in the environment variable d view_sample = View sample inference_output_path_rule = The inference output path is stored in the environment variable result_url. model_file_path_rule=The model file location is stored in the environment variable ckpt_url - +model_file_postfix_rule = The supported format of the model file is [ckpt, pb, h5, json, pkl, pth, t7, pdparams, onnx, pbtxt, keras, mlmodel, cfg, pt] +model_convert_postfix_rule = The supported format of the model file is [.pth, .pkl, .onnx, .mindir, .ckpt, .pb] delete_task = Delete task task_delete_confirm = Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered. operate_confirm = confirm diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 652371690..854322b4d 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -3131,7 +3131,8 @@ dataset_path_rule = 数据集位置存储在环境变量data_url中,训练输 view_sample = 查看样例 inference_output_path_rule = 推理输出路径存储在环境变量result_url中。 model_file_path_rule = 模型文件位置存储在环境变量ckpt_url中。 - +model_file_postfix_rule = 模型文件支持的格式为 [ckpt, pb, h5, json, pkl, pth, t7, pdparams, onnx, pbtxt, keras, mlmodel, cfg, pt] +model_convert_postfix_rule = 模型文件支持的格式为 [.pth, .pkl, .onnx, .mindir, .ckpt, .pb] delete_task = 删除任务 task_delete_confirm = 你确认删除该任务么?此任务一旦删除不可恢复。 operate_confirm = 确定操作 diff --git a/templates/repo/cloudbrain/inference/new.tmpl b/templates/repo/cloudbrain/inference/new.tmpl index bfc8b1c51..efea83a46 100644 --- a/templates/repo/cloudbrain/inference/new.tmpl +++ b/templates/repo/cloudbrain/inference/new.tmpl @@ -141,6 +141,9 @@ + + + diff --git a/templates/repo/cloudbrain/new.tmpl b/templates/repo/cloudbrain/new.tmpl index ea093b5b3..0d07b2add 100755 --- a/templates/repo/cloudbrain/new.tmpl +++ b/templates/repo/cloudbrain/new.tmpl @@ -1,91 +1,57 @@ {{template "base/head" .}} -
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
任务正在准备中,喝杯水回来再看看~
+
@@ -287,9 +267,9 @@
{{template "base/footer" .}}