| @@ -33,12 +33,12 @@ | |||
| </div> | |||
| <!-- 中下列表展示区 --> | |||
| <div class="ui grid" style="display: none;"> | |||
| <div class="ui grid"> | |||
| <div class="row" style="padding-top: 0;"> | |||
| <div class="ui sixteen wide column"> | |||
| <!-- 任务展示 --> | |||
| <div class="dataset list" id="model_convert_list"> | |||
| <!-- 表头 --> | |||
| <div class="ui grid stackable" style="background: #f0f0f0;;"> | |||
| <div class="row"> | |||
| <div class="three wide column padding0"> | |||
| @@ -67,7 +67,6 @@ | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <!-- 表头 --> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| @@ -121,64 +120,67 @@ | |||
| <label for="description">任务描述</label> | |||
| <textarea style="width: 83%;margin-left: 7px;" id="Description" name="Description" rows="3" maxlength="255" placeholder='{{.i18n.Tr "repo.modelarts.train_job.new_place"}}' onchange="this.value=this.value.substring(0, 255)" onkeydown="this.value=this.value.substring(0, 255)" onkeyup="this.value=this.value.substring(0, 256)"></textarea> | |||
| </div> | |||
| <div class="inline fields "> | |||
| <div class="required ten wide field"> | |||
| <label style="margin-left: -23px;">模型</label> | |||
| <div class="ui dropdown selection search width83 loading" id="choice_model"> | |||
| <div class="inline field "> | |||
| <label style="margin-left: -23px;">模型</label> | |||
| <div class="ui dropdown selection search width83 loading" id="choice_model"> | |||
| <input type="hidden" id="ModelId" name="ModelId" required> | |||
| <div class="default text">选择模型</div> | |||
| <i class="dropdown icon"></i> | |||
| <div class="menu" id="model-name"> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="inline fields "> | |||
| <div class="required six widde field"> | |||
| <label>模型版本</label> | |||
| <div class="ui dropdown selection search width70" id="choice_version"> | |||
| <div class="inline field "> | |||
| <label>模型版本</label> | |||
| <div class="ui dropdown selection search width70" id="choice_version"> | |||
| <input type="hidden" id="ModelVersion" name="ModelVersion" required> | |||
| <div class="default text">选择版本</div> | |||
| <i class="dropdown icon"></i> | |||
| <div class="menu" id="model-version"> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="inline fields "> | |||
| <div class="required six widde field"> | |||
| <label>原模型框架</label> | |||
| <div class="ui dropdown selection search width70" id="choice_engine"> | |||
| <div class="inline field"> | |||
| <label>原模型框架</label> | |||
| <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> | |||
| </div> | |||
| </div> | |||
| <div class="required inline field" id="inputshape_div"> | |||
| <label>输入张量形状</label> | |||
| <input style="width: 45%;" id="inputshape" name="inputshape" required maxlength="25" onkeyup="this.value=this.value.replace(/[, ]/g,'')"> | |||
| </div> | |||
| <div class="required inline field" id="verionname"> | |||
| <label>模型版本</label> | |||
| <input style="width: 45%;" id="version" name="Version" value="" readonly required maxlength="255"> | |||
| <div class="required inline field" id="inputdataformat_div"> | |||
| <label>输入数据格式</label> | |||
| <select id="inputdataformat" class="ui search dropdown" placeholder="" style='width:385px' name="inputdataformat"> | |||
| <option name="NHWC" value="NHWC">NHWC</option> | |||
| <option name="NCHW" value="NCHW">NCHW</option> | |||
| </select> | |||
| </div> | |||
| <div class="inline field"> | |||
| <label>模型标签</label> | |||
| <input style="width: 83%;margin-left: 7px;" id="label" name="Label" maxlength="255" placeholder='{{.i18n.Tr "repo.modelarts.train_job.label_place"}}'> | |||
| <label>转换后格式</label> | |||
| <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> | |||
| </select> | |||
| </div> | |||
| <div class="inline field"> | |||
| <label for="description">模型描述</label> | |||
| <textarea style="width: 83%;margin-left: 7px;" id="Description" name="Description" rows="3" maxlength="255" placeholder='{{.i18n.Tr "repo.modelarts.train_job.new_place"}}' onchange="this.value=this.value.substring(0, 255)" onkeydown="this.value=this.value.substring(0, 255)" onkeyup="this.value=this.value.substring(0, 256)"></textarea> | |||
| <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> | |||
| </select> | |||
| </div> | |||
| <div class="inline field" style="margin-left: 75px;"> | |||
| <button id="submitId" type="button" class="ui create_train_job green button" style="position: absolute;"> | |||
| {{.i18n.Tr "repo.model.manage.sava_model"}} | |||
| 新建任务 | |||
| </button> | |||
| </div> | |||
| </form> | |||