Skip to content

Commit feec859

Browse files
authored
Merge pull request #60 from joelwurtz/patch-1
Use clean path for async pipeline
2 parents ece97a0 + 3da98b5 commit feec859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gimpopenvino/tools/openvino_common/pipelines/async_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def __init__(self, ie, model, model_path, plugin_config, device='CPU', max_num_r
8686
self.model = model
8787
self.logger = logging.getLogger()
8888

89-
ie.set_config(config={"CACHE_DIR": os.path.join(model_path, '..', 'cache')}, device_name=device)
89+
ie.set_config(config={"CACHE_DIR": os.path.join(os.path.dirname(model_path), 'cache')}, device_name=device)
9090
self.logger.info('Model Cached')
9191

9292
self.logger.info('Loading network to {} plugin...'.format(device))

0 commit comments

Comments
 (0)