set U8 precision for image-like inputs even in case of random filling (#10140)
This commit is contained in:
@@ -499,8 +499,7 @@ int main(int argc, char* argv[]) {
|
||||
type_to_set = iop_precision;
|
||||
} else if (input_precision != ov::element::undefined) {
|
||||
type_to_set = input_precision;
|
||||
} else if (!name.empty() && app_inputs_info[0].at(name).is_image() &&
|
||||
(inputFiles.count("") || inputFiles.count(name))) {
|
||||
} else if (!name.empty() && app_inputs_info[0].at(name).is_image()) {
|
||||
// image input, set U8
|
||||
type_to_set = ov::element::u8;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user