| @@ -180,7 +180,7 @@ | |||||
| <h4 id="model_header"></h4> | <h4 id="model_header"></h4> | ||||
| </div> | </div> | ||||
| <div class="content content-padding"> | <div class="content content-padding"> | ||||
| <form id="formId" method="POST" class="ui form"> | |||||
| <form id="formId" method="POST" class="ui form" action="{{.RepoLink}}/modelmanage/create_model_convert"> | |||||
| <input type="hidden" name="initModel" value="{{$.MODEL_COUNT}}"> | <input type="hidden" name="initModel" value="{{$.MODEL_COUNT}}"> | ||||
| <div class="ui error message"> | <div class="ui error message"> | ||||
| <!-- <p>asdasdasd</p> --> | <!-- <p>asdasdasd</p> --> | ||||
| @@ -287,6 +287,8 @@ | |||||
| console.log("name=" + data['name'] + " desc=" + data['desc'] + " modelId=" + data['modelId'] + " SrcEngine=" + data['SrcEngine']); | console.log("name=" + data['name'] + " desc=" + data['desc'] + " modelId=" + data['modelId'] + " SrcEngine=" + data['SrcEngine']); | ||||
| console.log("inputshape=" + data['inputshape'] + " inputdataformat=" + data['inputdataformat'] + " DestFormat=" + data['DestFormat'] + " NetOutputFormat=" + data['NetOutputFormat']); | console.log("inputshape=" + data['inputshape'] + " inputdataformat=" + data['inputdataformat'] + " DestFormat=" + data['DestFormat'] + " NetOutputFormat=" + data['NetOutputFormat']); | ||||
| $('.ui.modal.second').modal('hide'); | $('.ui.modal.second').modal('hide'); | ||||
| $('.ui.form').submit(); | |||||
| /* | |||||
| let url_href = `${repolink}/modelmanage/create_model_convert`; | let url_href = `${repolink}/modelmanage/create_model_convert`; | ||||
| $.ajax({ | $.ajax({ | ||||
| url:url_href, | url:url_href, | ||||
| @@ -301,7 +303,7 @@ | |||||
| complete:function(xhr){ | complete:function(xhr){ | ||||
| console.log("completed=" + xhr); | console.log("completed=" + xhr); | ||||
| } | } | ||||
| }) | |||||
| })*/ | |||||
| // $.post(`${repolink}/modelmanage/create_model_convert`,data,(result) => { | // $.post(`${repolink}/modelmanage/create_model_convert`,data,(result) => { | ||||
| // console.log("result=" + result); | // console.log("result=" + result); | ||||
| // }) | // }) | ||||