From 2168c5f77003572dd85f51ed55c568ba0dfa9441 Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 23 Aug 2022 14:44:24 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- options/locale/locale_en-US.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 9d6fc48e0..e1dcbef3a 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -259,7 +259,7 @@ page_dev_yunlao_desc3=China computing power network (C²NET) phase I can realize page_dev_yunlao_desc4=Developers can freely select the corresponding computing resources according to the use needs, and can test the adaptability, performance, stability, etc. of the model in different hardware environments. page_dev_yunlao_desc5=If your model requires more computing resources, you can also apply for it separately. page_dev_yunlao_apply=Apply Separately -c2net_title=C²NET +c2net_title=China Computing Network c2net_desc=The artificial intelligence computing power network promotion alliance has access to 11 intelligent computing centers, with a total scale of 1924p. c2net_center=Center search=Search From 9e623b1eaf73306166809fca7193b8efe444fd47 Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 23 Aug 2022 16:39:41 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- templates/repo/cloudbrain/trainjob/show.tmpl | 2 +- web_src/js/features/datsetCate.js | 149 +++++++++++++++++++ 2 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 web_src/js/features/datsetCate.js diff --git a/templates/repo/cloudbrain/trainjob/show.tmpl b/templates/repo/cloudbrain/trainjob/show.tmpl index 23fc92d62..2be624ddb 100644 --- a/templates/repo/cloudbrain/trainjob/show.tmpl +++ b/templates/repo/cloudbrain/trainjob/show.tmpl @@ -499,7 +499,7 @@
+ href="/api/v1/repos/{{$.RepoRelPath}}/cloudbrain/{{.JobID}}/download_log_file"> {{$.i18n.Tr "repo.modelarts.download_log"}} diff --git a/web_src/js/features/datsetCate.js b/web_src/js/features/datsetCate.js new file mode 100644 index 000000000..ccb344ec1 --- /dev/null +++ b/web_src/js/features/datsetCate.js @@ -0,0 +1,149 @@ +export const i18nVue = { + CN: { + computer_vision: "计算机视觉", + natural_language_processing: "自然语言处理", + speech_processing: "语音处理", + computer_vision_natural_language_processing: "计算机视觉、自然语言处理", + machine_translation: "机器翻译", + question_answering_system: "问答系统", + information_retrieval: "信息检索", + knowledge_graph: "知识图谱", + text_annotation: "文本标注", + text_categorization: "文本分类", + emotion_analysis: "情感分析", + language_modeling: "语言建模", + speech_recognition: "语音识别", + automatic_digest: "自动文摘", + information_extraction: "信息抽取", + description_generation: "说明生成", + image_classification: "图像分类", + face_recognition: "人脸识别", + image_search: "图像搜索", + target_detection: "目标检测", + image_description_generation: "图像描述生成", + vehicle_license_plate_recognition: "车辆车牌识别", + medical_image_analysis: "医学图像分析", + unmanned: "无人驾驶", + unmanned_security: "无人安防", + drone: "无人机", + vr_ar: "VR/AR", + "2_d_vision": "2-D视觉", + "2_5_d_vision": "2.5-D视觉", + "3_d_reconstruction": "3D重构", + image_processing: "图像处理", + video_processing: "视频处理", + visual_input_system: "视觉输入系统", + speech_coding: "语音编码", + speech_enhancement: "语音增强", + speech_recognition: "语音识别", + speech_synthesis: "语音合成", + current_dataset: "当前数据集", + linked_datasets: "关联数据集", + unfavorite: "取消收藏", + favorite: "收藏", + disassociate: "取消关联", + public_dataset: "公开数据集", + selected_data_file: "已选数据文件", + sure: "确定", + search_dataset: "搜数据集名称/描述...", + image_label:"镜像", + image_select_placeholder:"选择镜像或输入镜像地址", + image_select:"选择镜像", + image_search_placeholder:"搜镜像Tag/描述/标签...", + image_public:"公开镜像", + image_use:"使用", + image_my:"我的镜像", + image_commit:"提交中", + image_commit_content:"检测提交镜像是否大小超过20G!", + image_commit_failed:"提交失败", + image_collected:"我收藏的镜像", + dataset_label:"数据集", + dataset_select_placeholder:"选择数据集文件", + dataset_select:"选择数据集", + dataset_search_placeholder:"搜数据集名称/描述...", + dataset_unziping:"正在解压缩", + dataset_unzip_failed:"解压失败", + dataset_my_upload:"我上传的", + dataset_current_repo:"本项目", + dataset_public:"公开数据集", + dataset_collected:"我收藏的", + dataset_selected:"已选数据文件", + dataset_ok:"确定", + dataset_not_equal_file:"不能选择相同名称的数据文件", + dataset_most:"最多不超过五个文件", + }, + US: { + computer_vision: "computer vision", + natural_language_processing: "natural language processing", + speech_processing: "speech processing", + computer_vision_natural_language_processing: + "computer vision and natural language processing", + machine_translation: "machine translation", + question_answering_system: "question answering system", + information_retrieval: "information retrieval", + knowledge_graph: "knowledge graph", + text_annotation: "text annotation", + text_categorization: "text categorization", + emotion_analysis: "emotion analysis", + language_modeling: "language modeling", + speech_recognition: "speech recognition", + automatic_digest: "automatic digest", + information_extraction: "information extraction", + description_generation: "description generation", + image_classification: "image classification", + face_recognition: "face recognition", + image_search: "image search", + target_detection: "target detection", + image_description_generation: "image description generation", + vehicle_license_plate_recognition: "vehicle license plate recognition", + medical_image_analysis: "medical image analysis", + unmanned: "unmanned", + unmanned_security: "unmanned security", + drone: "drone", + vr_ar: "VR/AR", + "2_d_vision": "2.D vision", + "2.5_d_vision": "2.5D vision", + "3_d_reconstruction": "3Dreconstruction", + image_processing: "image processing", + video_processing: "video processing", + visual_input_system: "visual input system", + speech_coding: "speech coding", + speech_enhancement: "speech enhancement", + speech_recognition: "speech recognition", + speech_synthesis: "speech synthesis", + current_dataset: "Current Dataset", + linked_datasets: "Linked Datasets", + unfavorite: "Unfavorite", + favorite: "Favorite", + disassociate: "Disassociate", + public_dataset: "Public Dataset", + selected_data_file: "Selected Data File", + sure: "Sure", + search_dataset: "Search dataset name/description ...", + image_label:"Image", + image_select_placeholder:"Select image or input image url", + image_select:"Select Image", + image_search_placeholder:"Search image tag/description/label...", + image_public:"Public Image", + image_use:"Use", + image_my:"My Images", + image_commit:"Commiting", + image_commit_content:"Check whether the size of the submitted image exceeds 20g.", + image_commit_failed:"Commit failed", + image_collected:"My collected images", + dataset_label:"Dataset", + dataset_select_placeholder:"Select dataset file", + dataset_select:"Select dataset", + dataset_search_placeholder:"Search dataset name/description ...", + dataset_unziping:"Decompressing", + dataset_unzip_failed:"Decompression failed", + dataset_my_upload:"Upload by me", + dataset_current_repo:"Current Repository", + dataset_public:"Public dataset", + dataset_collected:"My collection", + dataset_selected:"Selected dataset file", + dataset_ok:"OK", + dataset_not_equal_file:"Cannot select a data file with the same name.", + dataset_most:"Up to five files.", + }, +}; From 5f0a374688922979450cf9c283ae582d18990b8b Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 23 Aug 2022 16:51:23 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/api/v1/repo/cloudbrain.go | 1 + templates/repo/cloudbrain/trainjob/show.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/routers/api/v1/repo/cloudbrain.go b/routers/api/v1/repo/cloudbrain.go index a8c5762e4..5abb70e78 100755 --- a/routers/api/v1/repo/cloudbrain.go +++ b/routers/api/v1/repo/cloudbrain.go @@ -378,6 +378,7 @@ func CloudbrainDownloadLogFile(ctx *context.Context) { ctx.ServerError(err.Error(), err) return } + prefix := "/" + setting.CBCodePathPrefix + job.JobName + "/model" files, err := storage.GetOneLevelAllObjectUnderDirMinio(setting.Attachment.Minio.Bucket, prefix, "") if err != nil { diff --git a/templates/repo/cloudbrain/trainjob/show.tmpl b/templates/repo/cloudbrain/trainjob/show.tmpl index 2be624ddb..ba299a7eb 100644 --- a/templates/repo/cloudbrain/trainjob/show.tmpl +++ b/templates/repo/cloudbrain/trainjob/show.tmpl @@ -499,7 +499,7 @@
+ href="/api/v1/repos/{{$.RepoRelPath}}/cloudbrain/{{.ID}}/download_log_file"> {{$.i18n.Tr "repo.modelarts.download_log"}} From fb8113a1eaff70b325936813414fdcdd454f341b Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 23 Aug 2022 16:53:43 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/api/v1/repo/cloudbrain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/api/v1/repo/cloudbrain.go b/routers/api/v1/repo/cloudbrain.go index 5abb70e78..b450b2e26 100755 --- a/routers/api/v1/repo/cloudbrain.go +++ b/routers/api/v1/repo/cloudbrain.go @@ -399,7 +399,7 @@ func CloudbrainDownloadLogFile(ctx *context.Context) { ctx.ServerError("Get minio get SignedUrl failed", err) return } - http.Redirect(ctx.Resp, ctx.Req.Request, url, http.StatusMovedPermanently) + http.Redirect(ctx.Resp, ctx.Req.Request, url, http.StatusTemporaryRedirect) } } From 42f5a8d2c9d2d3a49f334fa8bbd78c1813f18f4d Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 23 Aug 2022 16:56:26 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- web_src/js/features/datsetCate.js | 149 ------------------------------ 1 file changed, 149 deletions(-) delete mode 100644 web_src/js/features/datsetCate.js diff --git a/web_src/js/features/datsetCate.js b/web_src/js/features/datsetCate.js deleted file mode 100644 index ccb344ec1..000000000 --- a/web_src/js/features/datsetCate.js +++ /dev/null @@ -1,149 +0,0 @@ -export const i18nVue = { - CN: { - computer_vision: "计算机视觉", - natural_language_processing: "自然语言处理", - speech_processing: "语音处理", - computer_vision_natural_language_processing: "计算机视觉、自然语言处理", - machine_translation: "机器翻译", - question_answering_system: "问答系统", - information_retrieval: "信息检索", - knowledge_graph: "知识图谱", - text_annotation: "文本标注", - text_categorization: "文本分类", - emotion_analysis: "情感分析", - language_modeling: "语言建模", - speech_recognition: "语音识别", - automatic_digest: "自动文摘", - information_extraction: "信息抽取", - description_generation: "说明生成", - image_classification: "图像分类", - face_recognition: "人脸识别", - image_search: "图像搜索", - target_detection: "目标检测", - image_description_generation: "图像描述生成", - vehicle_license_plate_recognition: "车辆车牌识别", - medical_image_analysis: "医学图像分析", - unmanned: "无人驾驶", - unmanned_security: "无人安防", - drone: "无人机", - vr_ar: "VR/AR", - "2_d_vision": "2-D视觉", - "2_5_d_vision": "2.5-D视觉", - "3_d_reconstruction": "3D重构", - image_processing: "图像处理", - video_processing: "视频处理", - visual_input_system: "视觉输入系统", - speech_coding: "语音编码", - speech_enhancement: "语音增强", - speech_recognition: "语音识别", - speech_synthesis: "语音合成", - current_dataset: "当前数据集", - linked_datasets: "关联数据集", - unfavorite: "取消收藏", - favorite: "收藏", - disassociate: "取消关联", - public_dataset: "公开数据集", - selected_data_file: "已选数据文件", - sure: "确定", - search_dataset: "搜数据集名称/描述...", - image_label:"镜像", - image_select_placeholder:"选择镜像或输入镜像地址", - image_select:"选择镜像", - image_search_placeholder:"搜镜像Tag/描述/标签...", - image_public:"公开镜像", - image_use:"使用", - image_my:"我的镜像", - image_commit:"提交中", - image_commit_content:"检测提交镜像是否大小超过20G!", - image_commit_failed:"提交失败", - image_collected:"我收藏的镜像", - dataset_label:"数据集", - dataset_select_placeholder:"选择数据集文件", - dataset_select:"选择数据集", - dataset_search_placeholder:"搜数据集名称/描述...", - dataset_unziping:"正在解压缩", - dataset_unzip_failed:"解压失败", - dataset_my_upload:"我上传的", - dataset_current_repo:"本项目", - dataset_public:"公开数据集", - dataset_collected:"我收藏的", - dataset_selected:"已选数据文件", - dataset_ok:"确定", - dataset_not_equal_file:"不能选择相同名称的数据文件", - dataset_most:"最多不超过五个文件", - }, - US: { - computer_vision: "computer vision", - natural_language_processing: "natural language processing", - speech_processing: "speech processing", - computer_vision_natural_language_processing: - "computer vision and natural language processing", - machine_translation: "machine translation", - question_answering_system: "question answering system", - information_retrieval: "information retrieval", - knowledge_graph: "knowledge graph", - text_annotation: "text annotation", - text_categorization: "text categorization", - emotion_analysis: "emotion analysis", - language_modeling: "language modeling", - speech_recognition: "speech recognition", - automatic_digest: "automatic digest", - information_extraction: "information extraction", - description_generation: "description generation", - image_classification: "image classification", - face_recognition: "face recognition", - image_search: "image search", - target_detection: "target detection", - image_description_generation: "image description generation", - vehicle_license_plate_recognition: "vehicle license plate recognition", - medical_image_analysis: "medical image analysis", - unmanned: "unmanned", - unmanned_security: "unmanned security", - drone: "drone", - vr_ar: "VR/AR", - "2_d_vision": "2.D vision", - "2.5_d_vision": "2.5D vision", - "3_d_reconstruction": "3Dreconstruction", - image_processing: "image processing", - video_processing: "video processing", - visual_input_system: "visual input system", - speech_coding: "speech coding", - speech_enhancement: "speech enhancement", - speech_recognition: "speech recognition", - speech_synthesis: "speech synthesis", - current_dataset: "Current Dataset", - linked_datasets: "Linked Datasets", - unfavorite: "Unfavorite", - favorite: "Favorite", - disassociate: "Disassociate", - public_dataset: "Public Dataset", - selected_data_file: "Selected Data File", - sure: "Sure", - search_dataset: "Search dataset name/description ...", - image_label:"Image", - image_select_placeholder:"Select image or input image url", - image_select:"Select Image", - image_search_placeholder:"Search image tag/description/label...", - image_public:"Public Image", - image_use:"Use", - image_my:"My Images", - image_commit:"Commiting", - image_commit_content:"Check whether the size of the submitted image exceeds 20g.", - image_commit_failed:"Commit failed", - image_collected:"My collected images", - dataset_label:"Dataset", - dataset_select_placeholder:"Select dataset file", - dataset_select:"Select dataset", - dataset_search_placeholder:"Search dataset name/description ...", - dataset_unziping:"Decompressing", - dataset_unzip_failed:"Decompression failed", - dataset_my_upload:"Upload by me", - dataset_current_repo:"Current Repository", - dataset_public:"Public dataset", - dataset_collected:"My collection", - dataset_selected:"Selected dataset file", - dataset_ok:"OK", - dataset_not_equal_file:"Cannot select a data file with the same name.", - dataset_most:"Up to five files.", - }, -};