Fix Python benchmark_app crash in case of binary input and batch > 1 (#15114)
This commit is contained in:
parent
86d43a83ce
commit
32fce5cb40
@ -105,7 +105,7 @@ def get_input_data(paths_to_input, app_input_info):
|
|||||||
f"provided data shapes. Only {binaries_to_be_used_map[info.name]} binaries will be processed for this input.")
|
f"provided data shapes. Only {binaries_to_be_used_map[info.name]} binaries will be processed for this input.")
|
||||||
elif binaries_to_be_used_map[info.name] < total_frames:
|
elif binaries_to_be_used_map[info.name] < total_frames:
|
||||||
logger.warning(f"Some binaries will be dublicated: {total_frames} is required, "
|
logger.warning(f"Some binaries will be dublicated: {total_frames} is required, "
|
||||||
f"but only {images_to_be_used_map[info.name]} were provided.")
|
f"but only {binaries_to_be_used_map[info.name]} were provided.")
|
||||||
else:
|
else:
|
||||||
if not (info.is_image_info and len(image_sizes) == 1):
|
if not (info.is_image_info and len(image_sizes) == 1):
|
||||||
logger.warning(f"No input files were given for input '{info.name}'!. This input will be filled with random values!")
|
logger.warning(f"No input files were given for input '{info.name}'!. This input will be filled with random values!")
|
||||||
|
Loading…
Reference in New Issue
Block a user