39d47fa6351c7a39a2af3904819d3edcc394aff3,mlflow/store/artifact/artifact_repo.py,ArtifactRepository,download_artifacts,#ArtifactRepository#Any#Any#,60
Before Change
" Destination path: {dst_path}".format(dst_path=dst_path)),
error_code=INVALID_PARAMETER_VALUE)
return download_artifacts_into(artifact_path, dst_path)
@abstractmethod
def _download_file(self, remote_file_path, local_path):
After Change
else:
download_file(file_info.path)
return local_dir
if not os.path.exists(dst_path):
raise MlflowException(
message=(
"The destination path for downloaded artifacts does not"
" exist! Destination path: {dst_path}".format(dst_path=dst_path)),
error_code=RESOURCE_DOES_NOT_EXIST)
elif not os.path.isdir(dst_path):
raise MlflowException(
message=(
"The destination path for downloaded artifacts must be a directory!"
" Destination path: {dst_path}".format(dst_path=dst_path)),
error_code=INVALID_PARAMETER_VALUE)
// Check if the artifacts points to a directory
if self._is_directory(artifact_path):
return download_artifact_dir(artifact_path)
else:
return download_file(artifact_path)
@abstractmethod
def _download_file(self, remote_file_path, local_path):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: mlflow/mlflow
Commit Name: 39d47fa6351c7a39a2af3904819d3edcc394aff3
Time: 2019-12-18
Author: 33237569+tomasatdatabricks@users.noreply.github.com
File Name: mlflow/store/artifact/artifact_repo.py
Class Name: ArtifactRepository
Method Name: download_artifacts
Project Name: mlflow/mlflow
Commit Name: bb62bfb0a316db92f0f7ed1b558f98e7a8617658
Time: 2018-10-22
Author: mani@databricks.com
File Name: mlflow/store/file_store.py
Class Name: FileStore
Method Name: get_experiment
Project Name: mlflow/mlflow
Commit Name: 8bc9a55687a4d0c08d8d852b3eddeb2b36ebc2c6
Time: 2020-02-24
Author: 33237569+tomasatdatabricks@users.noreply.github.com
File Name: mlflow/tracking/client.py
Class Name: MlflowClient
Method Name: update_registered_model
Project Name: mlflow/mlflow
Commit Name: 9bd0e03c6d66a8e84d1d9196eb601c1e4738d01b
Time: 2018-11-07
Author: smurching@gmail.com
File Name: mlflow/tensorflow.py
Class Name:
Method Name: _load_model