Browse Source

Merge branch 'gpu-inference' of git.openi.org.cn:OpenI/aiforge into gpu-inference

pull/2458/head
ychao_1983 3 years ago
parent
commit
bf11481cc9
2 changed files with 1 additions and 5 deletions
  1. +0
    -4
      templates/repo/cloudbrain/trainjob/new.tmpl
  2. +1
    -1
      templates/repo/modelarts/inferencejob/index.tmpl

+ 0
- 4
templates/repo/cloudbrain/trainjob/new.tmpl View File

@@ -212,10 +212,6 @@
<div id="select-multi-dataset">

</div>


<!-- {{template "custom/select_dataset_train" .}} -->
<span class="tooltips"
style="margin-left: 11.5rem;margin-bottom: 1rem;">训练脚本存储在/code中,数据集存储在/dataset中,训练输出请存储在/model中以供后续下载。</span>
<div class="inline min_title field">


+ 1
- 1
templates/repo/modelarts/inferencejob/index.tmpl View File

@@ -161,7 +161,7 @@
<div class="ui compact buttons">
{{$.CsrfTokenHtml}}
{{if .CanModify}}
<a style="padding: 0.5rem 1rem;margin-left:0.2rem" id="model-download-{{.JobID}}" href="{{$.RepoLink}}/modelarts/inference-job/{{.JobID}}/downloadall?version_name={{.VersionName}}" class="ui basic blue button" style="border-radius: .28571429rem;">
<a style="padding: 0.5rem 1rem;margin-left:0.2rem" id="model-download-{{.JobID}}" href="{{$.RepoLink}}/{{if eq .Cloudbrain.Type 0 }}cloudbrain{{else}}modelarts{{end}}/inference-job/{{.JobID}}/downloadall?version_name={{.VersionName}}" class="ui basic blue button" style="border-radius: .28571429rem;">
{{$.i18n.Tr "repo.model_download"}}
</a>
{{else}}


Loading…
Cancel
Save