Skip to content

Commit ed24d60

Browse files
Undo changes for get_config()
1 parent 7ece041 commit ed24d60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demos/common/python/openvino/model_zoo/model_api/adapters/openvino_adapter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ def log_runtime_settings(self):
7777
if 'AUTO' not in devices:
7878
for device in devices:
7979
try:
80-
nstreams = self.exec_net.get_property(device + '_THROUGHPUT_STREAMS')
80+
nstreams = self.exec_net.get_config(device + '_THROUGHPUT_STREAMS')
8181
log.info('\tDevice: {}'.format(device))
8282
log.info('\t\tNumber of streams: {}'.format(nstreams))
8383
if device == 'CPU':
84-
nthreads = self.exec_net.get_property('CPU_THREADS_NUM')
84+
nthreads = self.exec_net.get_config('CPU_THREADS_NUM')
8585
log.info('\t\tNumber of threads: {}'.format(nthreads if int(nthreads) else 'AUTO'))
8686
except RuntimeError:
8787
pass

0 commit comments

Comments
 (0)