Browse Source

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

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

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

@@ -377,10 +377,9 @@
var options=ele.options;
var option = options[index];
console.log("SrcEngine value=" + option);

let destFormatHtml = "<option name=\"ONNX\" value=\"0\">ONNX</option>";
let netOutputFormatHtml = "<option name=\"FP32\" value=\"0\">FP32</option>";
if(option.value == 0){
if(option==null || option =="undefined" || option.value == 0){
destFormatHtml += "<option name=\"TensorRT\" value=\"1\">TensorRT</option>"
netOutputFormatHtml += "<option name=\"FP16\" value=\"1\">FP16</option>";
}


Loading…
Cancel
Save