|
|
@@ -180,7 +180,7 @@ |
|
|
|
<h4 id="model_header"></h4> |
|
|
|
</div> |
|
|
|
<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}}"> |
|
|
|
<div class="ui error message"> |
|
|
|
<!-- <p>asdasdasd</p> --> |
|
|
@@ -287,6 +287,8 @@ |
|
|
|
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']); |
|
|
|
$('.ui.modal.second').modal('hide'); |
|
|
|
$('.ui.form').submit(); |
|
|
|
/* |
|
|
|
let url_href = `${repolink}/modelmanage/create_model_convert`; |
|
|
|
$.ajax({ |
|
|
|
url:url_href, |
|
|
@@ -301,7 +303,7 @@ |
|
|
|
complete:function(xhr){ |
|
|
|
console.log("completed=" + xhr); |
|
|
|
} |
|
|
|
}) |
|
|
|
})*/ |
|
|
|
// $.post(`${repolink}/modelmanage/create_model_convert`,data,(result) => { |
|
|
|
// console.log("result=" + result); |
|
|
|
// }) |
|
|
|