We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ece041 commit ed24d60Copy full SHA for ed24d60
demos/common/python/openvino/model_zoo/model_api/adapters/openvino_adapter.py
@@ -77,11 +77,11 @@ def log_runtime_settings(self):
77
if 'AUTO' not in devices:
78
for device in devices:
79
try:
80
- nstreams = self.exec_net.get_property(device + '_THROUGHPUT_STREAMS')
+ nstreams = self.exec_net.get_config(device + '_THROUGHPUT_STREAMS')
81
log.info('\tDevice: {}'.format(device))
82
log.info('\t\tNumber of streams: {}'.format(nstreams))
83
if device == 'CPU':
84
- nthreads = self.exec_net.get_property('CPU_THREADS_NUM')
+ nthreads = self.exec_net.get_config('CPU_THREADS_NUM')
85
log.info('\t\tNumber of threads: {}'.format(nthreads if int(nthreads) else 'AUTO'))
86
except RuntimeError:
87
pass
0 commit comments