|
|
|
@@ -221,9 +221,7 @@ |
|
|
|
<label>原模型框架</label> |
|
|
|
<span> </span> |
|
|
|
<select id="SrcEngine" class="ui search dropdown" placeholder="" style='width:385px' name="SrcEngine"> |
|
|
|
<option name="Pytorch" value="0">Pytorch</option> |
|
|
|
<option name="TensorFlow" value="1">TensorFlow</option> |
|
|
|
<option name="MindSpore" value="2">MindSpore</option> |
|
|
|
|
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<div class="unite min_title required inline field" id="inputdataformat_div"> |
|
|
|
@@ -433,7 +431,20 @@ |
|
|
|
$('#choice_version input[name="ModelVersion"]').val(versionList[0].ID) |
|
|
|
loadModelFile(versionList[0].ID); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
function setEngineValue(value){ |
|
|
|
$('#SrcEngine').dropdown('clear'); |
|
|
|
console.log("setEngineValue value=" + value); |
|
|
|
let html = "" |
|
|
|
|
|
|
|
if(value ==null || value ==""){ |
|
|
|
html +="<option name=\"Pytorch\" value=\"0\">Pytorch</option>"; |
|
|
|
html +="<option name=\"TensorFlow\" value=\"1\">TensorFlow</option>"; |
|
|
|
html +="<option name=\"MindSpore\" value=\"2\">MindSpore</option>"; |
|
|
|
}else{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
</script> |
|
|
|
|