| @@ -189,15 +189,18 @@ | |||
| <input type="hidden" name="_csrf" value=""> | |||
| <div class="unite min_title required inline field" id="task_name"> | |||
| <label>任务名称</label> | |||
| <input style="width: 45%;" id="model_convert_name" name="model_convert_name" required maxlength="25" onkeyup="this.value=this.value.replace(/[, ]/g,'')"> | |||
| <span> </span> | |||
| <input style="width: 70%;" id="model_convert_name" name="model_convert_name" required maxlength="25" onkeyup="this.value=this.value.replace(/[, ]/g,'')"> | |||
| </div> | |||
| <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> | |||
| <span> </span> | |||
| <textarea style="width: 70%;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="unite min_title inline field required"> | |||
| <label>模型名称</label> | |||
| <div class="ui dropdown selection search width83 loading" id="choice_model"> | |||
| <span> </span> | |||
| <div class="ui dropdown selection search width70 loading" id="choice_model"> | |||
| <div class="default text">选择模型</div> | |||
| <i class="dropdown icon"></i> | |||
| <div class="menu" id="model-name"> | |||
| @@ -206,6 +209,7 @@ | |||
| </div> | |||
| <div class="unite min_title inline field required"> | |||
| <label>模型版本</label> | |||
| <span> </span> | |||
| <div class="ui dropdown selection search width70" id="choice_version"> | |||
| <input type="hidden" id="ModelVersion" name="ModelVersion" required> | |||
| <div class="default text">选择版本</div> | |||
| @@ -217,6 +221,7 @@ | |||
| </div> | |||
| <div class="unite min_title inline field required"> | |||
| <label>模型文件</label> | |||
| <span> </span> | |||
| <div class="ui dropdown selection search width70" id="choice_file"> | |||
| <input type="hidden" id="ModelFile" name="ModelFile" required> | |||
| <div class="default text">选择模型文件</div> | |||
| @@ -228,33 +233,35 @@ | |||
| </div> | |||
| <div class="unite min_title inline field required"> | |||
| <label>原模型框架</label> | |||
| <span> </span> | |||
| <select id="SrcEngine" class="ui search dropdown" placeholder="" style='width:385px;color:#000000;' name="SrcEngine" onchange="javascript:srcEngineChanged()"> | |||
| <span> </span> | |||
| <select id="SrcEngine" class="ui search dropdown" placeholder="" style='width:50%;color:#000000;' name="SrcEngine" onchange="javascript:srcEngineChanged()"> | |||
| </select> | |||
| </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"> | |||
| <span> </span> | |||
| <select id="inputdataformat" class="ui search dropdown" placeholder="" style='width:50%' name="inputdataformat"> | |||
| <option name="NCHW" value="NCHW">NCHW</option> | |||
| <option name="NHWC" value="NHWC">NHWC</option> | |||
| </select> | |||
| </div> | |||
| <div class="unite min_title required inline field" id="inputshape_div"> | |||
| <label>输入张量形状</label> | |||
| <input style="width: 45%;" id="inputshape" name="inputshape" placeholder="如:1,1,32,32,与输入数据格式对应。" required maxlength="25"> | |||
| <span> </span> | |||
| <input style="width: 50%;" id="inputshape" name="inputshape" placeholder="如:1,1,32,32,与输入数据格式对应。" required maxlength="25"> | |||
| </div> | |||
| <div class="unite min_title inline field required"> | |||
| <label>转换后格式</label> | |||
| <span> </span> | |||
| <select id="DestFormat" class="ui search dropdown" placeholder="" style='width:385px;' name="DestFormat"> | |||
| <span> </span> | |||
| <select id="DestFormat" class="ui search dropdown" placeholder="" style='width:50%' name="DestFormat"> | |||
| </select> | |||
| </div> | |||
| <div class="unite min_title inline field"> | |||
| <label>网络输出数据类型</label> | |||
| <select id="NetOutputFormat" class="ui search dropdown" placeholder="" style='width:385px' name="NetOutputFormat"> | |||
| <select id="NetOutputFormat" class="ui search dropdown" placeholder="" style='width:50%' name="NetOutputFormat"> | |||
| </select> | |||
| </div> | |||