Browse Source

提交代码。增加TRT转换后端支持。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.1
zouap 3 years ago
parent
commit
bfc11b01a7
1 changed files with 3 additions and 7 deletions
  1. +3
    -7
      templates/repo/modelmanage/convertIndex.tmpl

+ 3
- 7
templates/repo/modelmanage/convertIndex.tmpl View File

@@ -181,7 +181,7 @@
<h4 id="model_header"></h4> <h4 id="model_header"></h4>
</div> </div>
<div class="content content-padding"> <div class="content content-padding">
<form id="formId" method="POST" class="ui form" action="{{.RepoLink}}/modelmanage/create_model_convert">
<div id="formdiv" class="ui form" >
<input type="hidden" name="initModel" value="{{$.MODEL_COUNT}}"> <input type="hidden" name="initModel" value="{{$.MODEL_COUNT}}">
<div class="ui error message"> <div class="ui error message">
<!-- <p>asdasdasd</p> --> <!-- <p>asdasdasd</p> -->
@@ -264,7 +264,7 @@
新建任务 新建任务
</button> </button>
</div> </div>
</form>
</div>
<div class="actions" style="display: inline-block;margin-left: 110px;"> <div class="actions" style="display: inline-block;margin-left: 110px;">
<button class="ui button cancel" >{{.i18n.Tr "repo.cloudbrain.cancel"}}</button> <button class="ui button cancel" >{{.i18n.Tr "repo.cloudbrain.cancel"}}</button>
</div> </div>
@@ -332,14 +332,10 @@
$('#choice_model').dropdown('clear') $('#choice_model').dropdown('clear')
$('#choice_version').dropdown('clear') $('#choice_version').dropdown('clear')
$('#choice_file').dropdown('clear') $('#choice_file').dropdown('clear')
$('#ModelFile').val("")
$('#SrcEngine').dropdown('clear')
$('#DestFormat').dropdown('clear')
$('#NetOutputFormat').dropdown('clear')
console.log("div hidde ....");
$('.ui.dimmer').css({"background-color":""}) $('.ui.dimmer').css({"background-color":""})
$('.ui.error.message').text() $('.ui.error.message').text()
$('.ui.error.message').css('display','none') $('.ui.error.message').css('display','none')

} }
}) })
.modal('show') .modal('show')


Loading…
Cancel
Save