Skip to content

Commit

Permalink
Merge pull request #177 from openvinotoolkit/fix-model-wrapper-namesp…
Browse files Browse the repository at this point in the history
…ace-collision

Make model wrapper module namespace unique
  • Loading branch information
ljcornel authored Mar 28, 2023
2 parents d0acc19 + 2f9b7e5 commit 6e32caa
Show file tree
Hide file tree
Showing 82 changed files with 162 additions and 162 deletions.
2 changes: 1 addition & 1 deletion geti_sdk/deployment/deployed_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def load_inference_model(
wrapper_module_path = os.path.join(
self._model_python_path, WRAPPER_DIR_NAME
)
module_name = WRAPPER_DIR_NAME
module_name = WRAPPER_DIR_NAME + "." + model_type.lower().replace(" ", "-")
try:
spec = importlib.util.spec_from_file_location(
module_name, os.path.join(wrapper_module_path, "__init__.py")
Expand Down
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/fixtures/cassettes/geti.cassette
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/fixtures/cassettes/geti_sdk_test_image_client.cassette
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Loading

0 comments on commit 6e32caa

Please sign in to comment.