| @@ -53,7 +53,7 @@ | |||
| <div class="two wide column text center padding0"> | |||
| <span>转换后格式</span> | |||
| </div> | |||
| <div class="one wide column text center padding0"> | |||
| <div class="two wide column text center padding0"> | |||
| <span>创建时间</span> | |||
| </div> | |||
| <div class="two wide column text center padding0"> | |||
| @@ -112,16 +112,16 @@ | |||
| <!-- <p>asdasdasd</p> --> | |||
| </div> | |||
| <input type="hidden" name="_csrf" value=""> | |||
| <div class="required inline field" id="task_name"> | |||
| <div class="unite min_title required inline field" id="task_name"> | |||
| <label>任务名称</label> | |||
| <input style="width: 45%;" id="name" name="Name" required maxlength="25" onkeyup="this.value=this.value.replace(/[, ]/g,'')"> | |||
| </div> | |||
| <div class="inline field"> | |||
| <div class="unite min_title 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> | |||
| </div> | |||
| <div class="inline field "> | |||
| <label style="margin-left: -23px;">模型</label> | |||
| <div class="unite min_title inline field "> | |||
| <label>模型</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> | |||
| @@ -130,7 +130,7 @@ | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="inline field "> | |||
| <div class="unite min_title inline field "> | |||
| <label>模型版本</label> | |||
| <div class="ui dropdown selection search width70" id="choice_version"> | |||
| <input type="hidden" id="ModelVersion" name="ModelVersion" required> | |||
| @@ -141,7 +141,7 @@ | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="inline field"> | |||
| <div class="unite min_title inline field"> | |||
| <label>原模型框架</label> | |||
| <div class="ui dropdown selection search width70" id="choice_engine"> | |||
| <input type="hidden" id="SrcEngine" name="SrcEngine" required> | |||
| @@ -152,25 +152,25 @@ | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="required inline field" id="inputshape_div"> | |||
| <div class="unite min_title 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="inputdataformat_div"> | |||
| <div class="unite min_title 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"> | |||
| <div class="unite min_title inline field"> | |||
| <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"> | |||
| <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> | |||
| @@ -178,7 +178,7 @@ | |||
| </select> | |||
| </div> | |||
| <div class="inline field" style="margin-left: 75px;"> | |||
| <div class="unite min_title inline field" style="margin-left: 75px;"> | |||
| <button id="submitId" type="button" class="ui create_train_job green button" style="position: absolute;"> | |||
| 新建任务 | |||
| </button> | |||