Reduced usage of batch in python samples (#3104)

* Reduced usage of batch in python sampes

Excluded from hello_classification and object_detection samples
This commit is contained in:
Mikhail Ryzhov
2020-11-17 10:12:33 +03:00
committed by GitHub
parent dc710d6090
commit 23e653858b
3 changed files with 3 additions and 8 deletions

View File

@@ -112,7 +112,6 @@ def main():
for input_key in net.input_info:
if len(net.input_info[input_key].layout) == 4:
input_name = input_key
log.info("Batch size is {}".format(net.batch_size))
net.input_info[input_key].precision = 'U8'
elif len(net.input_info[input_key].layout) == 2:
input_info_name = input_key