-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [Enhancement] Support batch visualization & dumping in Inferencer * fix empty det output * Update mmocr/apis/inferencers/base_mmocr_inferencer.py Co-authored-by: liukuikun <[email protected]> * [Docs] Inferencer docs * fix * Support weight_list * add req * improve md * inferencers.md * update * add tab * refine * polish * add cn docs * js * js * js * fix ch docs * translate * translate * finish * fix * fix * fix * update * standard inferencer * update docs * update docs * update docs * update docs * update docs * update docs * en * update * update * update * update * fix * apply sugg --------- Co-authored-by: liukuikun <[email protected]>
- Loading branch information
1 parent
cc78866
commit 33cbc9b
Showing
28 changed files
with
1,554 additions
and
394 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
$(document).ready(function () { | ||
table = $('.model-summary').DataTable({ | ||
"stateSave": false, | ||
"lengthChange": false, | ||
"pageLength": 10, | ||
"order": [], | ||
"scrollX": true, | ||
"columnDefs": [ | ||
{ "type": "summary", targets: '_all' }, | ||
] | ||
}); | ||
// Override the default sorting for the summary columns, which | ||
// never takes the "-" character into account. | ||
jQuery.extend(jQuery.fn.dataTableExt.oSort, { | ||
"summary-asc": function (str1, str2) { | ||
if (str1 == "<p>-</p>") | ||
return 1; | ||
if (str2 == "<p>-</p>") | ||
return -1; | ||
return ((str1 < str2) ? -1 : ((str1 > str2) ? 1 : 0)); | ||
}, | ||
|
||
"summary-desc": function (str1, str2) { | ||
if (str1 == "<p>-</p>") | ||
return 1; | ||
if (str2 == "<p>-</p>") | ||
return -1; | ||
return ((str1 < str2) ? 1 : ((str1 > str2) ? -1 : 0)); | ||
} | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.