| @@ -141,14 +141,11 @@ | |||||
| <div class="unite min_title inline field required"> | <div class="unite min_title inline field required"> | ||||
| <label>原模型框架</label> | <label>原模型框架</label> | ||||
| <span> </span> | <span> </span> | ||||
| <div class="ui dropdown selection search width70" id="choice_engine"> | |||||
| <input type="hidden" id="SrcEngine" name="SrcEngine" required> | |||||
| <div class="default text">选择原模型框架</div> | |||||
| <i class="dropdown icon"></i> | |||||
| <div class="menu" id="src-engine"> | |||||
| </div> | |||||
| </div> | |||||
| <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> | ||||
| <div class="unite min_title required inline field" id="inputshape_div"> | <div class="unite min_title required inline field" id="inputshape_div"> | ||||
| <label>输入张量形状</label> | <label>输入张量形状</label> | ||||
| @@ -265,7 +262,7 @@ | |||||
| n_length = versionList.length | n_length = versionList.length | ||||
| let train_html='' | let train_html='' | ||||
| for (let i=0;i<n_length;i++){ | for (let i=0;i<n_length;i++){ | ||||
| train_html += `<div class="item" data-value="${versionList[i]}">${versionList[i]}</div>` | |||||
| train_html += `<div class="item" data-value="${versionList[i].ID}">${versionList[i].Version}</div>` | |||||
| train_html += '</div>' | train_html += '</div>' | ||||
| } | } | ||||
| $("#model-version").append(train_html) | $("#model-version").append(train_html) | ||||