| @@ -108,12 +108,35 @@ | |||||
| </select> | </select> | ||||
| </div> | </div> | ||||
| <div class="required unite min_title inline field"> | |||||
| <!-- <div class="required unite min_title inline field"> | |||||
| <label style="font-weight: normal;">{{.i18n.Tr "cloudbrain.task_type"}}</label> | <label style="font-weight: normal;">{{.i18n.Tr "cloudbrain.task_type"}}</label> | ||||
| <select id="cloudbrain_job_type" class="ui search dropdown width48 job_type" placeholder="select {{.i18n.Tr "cloudbrain.task_type"}}" name="job_type"> | <select id="cloudbrain_job_type" class="ui search dropdown width48 job_type" placeholder="select {{.i18n.Tr "cloudbrain.task_type"}}" name="job_type"> | ||||
| <option name="job_type" value="SNN4IMAGENET">SNN4IMAGENET</option> | <option name="job_type" value="SNN4IMAGENET">SNN4IMAGENET</option> | ||||
| <option name="job_type" value="BRAINSCORE">BRAINSCORE</option> | <option name="job_type" value="BRAINSCORE">BRAINSCORE</option> | ||||
| </select> | </select> | ||||
| sle | |||||
| <span> | |||||
| <i class="question circle icon link" data-content={{.i18n.Tr "repo.modelarts.train_job.boot_file_helper"}} data-position="right center" data-variation="mini"></i> | |||||
| </span> | |||||
| <a id="benchmark_model_example" href="https://git.openi.org.cn/yult/snn4imagenet">{{.i18n.Tr "cloudbrain.view_sample"}}</a> | |||||
| </div> --> | |||||
| <div class="required unite min_title two inline fields "> | |||||
| <div class="required ten wide field" style="width: 26.5% !important;"> | |||||
| <label style="font-weight: normal;">{{.i18n.Tr "cloudbrain.task_type"}}</label> | |||||
| <select id="cloudbrain_job_type" class="ui search dropdown job_type" placeholder="select {{.i18n.Tr "cloudbrain.task_type"}}" name="job_type"> | |||||
| <option value="SNN4IMAGENET">SNN4IMAGENET</option> | |||||
| <option value="BRAINSCORE">BRAINSCORE</option> | |||||
| </select> | |||||
| </div> | |||||
| <div class="required six widde field" id="brainscore_child_type" style="width: 15% !important;display: none;"> | |||||
| <label style="font-weight: normal;">版本</label> | |||||
| <select class="ui search dropdown" placeholder="select {{.i18n.Tr "cloudbrain.task_type"}}" name="benchmark_child_types_id"> | |||||
| <option value="0">V1</option> | |||||
| <option value="1">V2</option> | |||||
| <option value="2">V4</option> | |||||
| <option value="3">IT</option> | |||||
| </select> | |||||
| </div> | |||||
| <span> | <span> | ||||
| <i class="question circle icon link" data-content={{.i18n.Tr "repo.modelarts.train_job.boot_file_helper"}} data-position="right center" data-variation="mini"></i> | <i class="question circle icon link" data-content={{.i18n.Tr "repo.modelarts.train_job.boot_file_helper"}} data-position="right center" data-variation="mini"></i> | ||||
| </span> | </span> | ||||
| @@ -253,8 +276,10 @@ | |||||
| onChange: function(value, text, $selectedItem) { | onChange: function(value, text, $selectedItem) { | ||||
| console.log(value,text) | console.log(value,text) | ||||
| if(value==="BRAINSCORE"){ | if(value==="BRAINSCORE"){ | ||||
| $('#brainscore_child_type').css('display','block') | |||||
| $('#benchmark_model_example').attr('href','https://git.openi.org.cn/yult/similarity2brain_ann') | $('#benchmark_model_example').attr('href','https://git.openi.org.cn/yult/similarity2brain_ann') | ||||
| }else{ | }else{ | ||||
| $('#brainscore_child_type').css('display','none') | |||||
| $('#benchmark_model_example').attr('href','https://git.openi.org.cn/yult/snn4imagenet') | $('#benchmark_model_example').attr('href','https://git.openi.org.cn/yult/snn4imagenet') | ||||
| } | } | ||||
| } | } | ||||