Skip to content

Commit

Permalink
Model export fails in external environment due to accessing old path …
Browse files Browse the repository at this point in the history
…property (#73)
  • Loading branch information
robzor92 committed Mar 17, 2022
1 parent 31ff998 commit 74c0142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/hsml/engine/local_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self):
self._dataset_api = dataset_api.DatasetApi()

def mkdir(self, model_instance):
self._dataset_api.mkdir(model_instance.path)
self._dataset_api.mkdir(model_instance.version_path)

def delete(self, model_instance):
self._dataset_api.rm(model_instance.path)
self._dataset_api.rm(model_instance.version_path)

0 comments on commit 74c0142

Please sign in to comment.