mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-11 14:56:55 +08:00
revert fix
This commit is contained in:
committed by
GitHub
parent
0969c3e7e0
commit
e41373b8ad
@@ -275,6 +275,14 @@ class MLflowExpManager(ExpManager):
|
|||||||
Use mlflow to implement ExpManager.
|
Use mlflow to implement ExpManager.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def __init__(self, uri: Text, default_exp_name: Optional[Text]):
|
||||||
|
super(MLflowExpManager, self).__init__(uri, default_exp_name)
|
||||||
|
self._client = None
|
||||||
|
|
||||||
|
def _set_uri(self):
|
||||||
|
self._client = mlflow.tracking.MlflowClient(tracking_uri=self.uri)
|
||||||
|
logger.info("{:}".format(self._client))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def client(self):
|
def client(self):
|
||||||
# Delay the creation of mlflow client in case of creating `mlruns` folder when importing qlib
|
# Delay the creation of mlflow client in case of creating `mlruns` folder when importing qlib
|
||||||
|
|||||||
Reference in New Issue
Block a user