This commit is contained in:
9
tests/models/image_classification_common.py
Normal file
9
tests/models/image_classification_common.py
Normal file
@@ -0,0 +1,9 @@
|
||||
def check_result_item_keys(result_item):
|
||||
assert result_item.keys() == {
|
||||
"input_path",
|
||||
"page_index",
|
||||
"input_img",
|
||||
"class_ids",
|
||||
"scores",
|
||||
"label_names",
|
||||
}
|
||||
Reference in New Issue
Block a user