Browse Source

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

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

+ 8
- 2
templates/repo/modelmanage/convertIndex.tmpl View File

@@ -250,14 +250,14 @@
<span>&nbsp;&nbsp;</span>
<select id="DestFormat" class="ui search dropdown" placeholder="" style='width:385px;' name="DestFormat">
<option name="ONNX" value="0">ONNX</option>
<!--<option name="TensorRT" value="1">TensorRT</option>-->
<option name="TensorRT" value="1">TensorRT</option>
</select>
</div>
<div class="unite min_title inline field">
<label>网络输出数据类型</label>
<select id="NetOutputFormat" class="ui search dropdown" placeholder="" style='width:385px' name="NetOutputFormat">
<option name="FP32" value="0">FP32</option>
<!-- <option name="FP16" value="1">FP16</option>-->
<option name="FP16" value="1">FP16</option>
</select>
</div>

@@ -370,6 +370,12 @@
$('#choice_file input[name="ModelFile"]').val(value)
}
})

$('#SrcEngine').dropdown({
onChange:function(value){
console.log("SrcEngine value=" + value);
}
})
})
function loadModelList(){


Loading…
Cancel
Save