|
|
@@ -287,9 +287,24 @@ |
|
|
|
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'); |
|
|
|
$.post(`${repolink}/modelmanage/create_model_convert`,data,(result) => { |
|
|
|
console.log("result=" + result); |
|
|
|
let url_href = `${repolink}/modelmanage/create_model_convert`; |
|
|
|
$.ajax({ |
|
|
|
url:url_href, |
|
|
|
type:'POST', |
|
|
|
data:data, |
|
|
|
success:function(res){ |
|
|
|
console.log("result=" + res); |
|
|
|
}, |
|
|
|
error: function(xhr){ |
|
|
|
console.log("error=" + xhr); |
|
|
|
}, |
|
|
|
complete:function(xhr){ |
|
|
|
console.log("completed=" + xhr); |
|
|
|
} |
|
|
|
}) |
|
|
|
// $.post(`${repolink}/modelmanage/create_model_convert`,data,(result) => { |
|
|
|
// console.log("result=" + result); |
|
|
|
// }) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|