|
@@ -150,13 +150,13 @@ |
|
|
<div class="inline unite min_title field required"> |
|
|
<div class="inline unite min_title field required"> |
|
|
<label style="font-weight: normal;">{{.i18n.Tr "repo.cloudbrain.benchmark.evaluate_train"}}</label> |
|
|
<label style="font-weight: normal;">{{.i18n.Tr "repo.cloudbrain.benchmark.evaluate_train"}}</label> |
|
|
<input disabled="disabled" style="width: 33.5%;" name="train_file" id="train_file" value="train.py" tabindex="3" autofocus required maxlength="254" > |
|
|
<input disabled="disabled" style="width: 33.5%;" name="train_file" id="train_file" value="train.py" tabindex="3" autofocus required maxlength="254" > |
|
|
<a href="https://git.openi.org.cn/CV_benchmark/CV_reID_benchmark" target="_blank">查看样例</a> |
|
|
|
|
|
|
|
|
<a id="train_href_id" href="https://git.openi.org.cn/CV_benchmark/CV_reID_benchmark" target="_blank">查看样例</a> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="inline unite min_title field required"> |
|
|
<div class="inline unite min_title field required"> |
|
|
<label style="font-weight: normal;">{{.i18n.Tr "repo.cloudbrain.benchmark.evaluate_test"}}</label> |
|
|
<label style="font-weight: normal;">{{.i18n.Tr "repo.cloudbrain.benchmark.evaluate_test"}}</label> |
|
|
<input disabled="disabled" style="width: 33.5%;" name="test_file" id="test_file" value="test.py" tabindex="3" autofocus required maxlength="254" > |
|
|
<input disabled="disabled" style="width: 33.5%;" name="test_file" id="test_file" value="test.py" tabindex="3" autofocus required maxlength="254" > |
|
|
<a href="https://git.openi.org.cn/CV_benchmark/CV_reID_benchmark" target="_blank">查看样例</a> |
|
|
|
|
|
|
|
|
<a id="test_href_id" href="https://git.openi.org.cn/CV_benchmark/CV_reID_benchmark" target="_blank">查看样例</a> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -190,6 +190,13 @@ |
|
|
|
|
|
|
|
|
function setChildType(){ |
|
|
function setChildType(){ |
|
|
let type_id = $('#benchmark_types_id').val(); |
|
|
let type_id = $('#benchmark_types_id').val(); |
|
|
|
|
|
if(type_id==4){ |
|
|
|
|
|
$('#train_href_id').attr('href','https://git.openi.org.cn/CV_benchmark/CV_MOT_benchmark'); |
|
|
|
|
|
$('#test_href_id').attr('href','https://git.openi.org.cn/CV_benchmark/CV_MOT_benchmark'); |
|
|
|
|
|
}else{ |
|
|
|
|
|
$('#train_href_id').attr('href','https://git.openi.org.cn/CV_benchmark/CV_reID_benchmark'); |
|
|
|
|
|
$('#test_href_id').attr('href','https://git.openi.org.cn/CV_benchmark/CV_reID_benchmark'); |
|
|
|
|
|
} |
|
|
let child_selected_id = $('#benchmark_child_types_id_hidden').val(); |
|
|
let child_selected_id = $('#benchmark_child_types_id_hidden').val(); |
|
|
$.get(`${repolink}/cloudbrain/benchmark/get_child_types?benchmark_type_id=${type_id}`, (data) => { |
|
|
$.get(`${repolink}/cloudbrain/benchmark/get_child_types?benchmark_type_id=${type_id}`, (data) => { |
|
|
const n_length = data['child_types'].length |
|
|
const n_length = data['child_types'].length |
|
|