Skip to content

Commit

Permalink
update to kubeflow-metadata in examples (kubeflow#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchihe authored and k8s-ci-robot committed Sep 26, 2019
1 parent 628babc commit cfe166f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN apt-get install -y wget unzip git
# RUN pip install tensorflow==1.12.0

RUN pip install --upgrade pip
RUN pip install kfmd urllib3 certifi retrying
RUN pip install kubeflow-metadata urllib3 certifi retrying

# RUN wget -nv https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.zip && \
# unzip -qq google-cloud-sdk.zip -d tools && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import logging
import retrying

from kfmd import metadata
from kubeflow.metadata import metadata #pylint: disable=no-name-in-module

DATASET = 'dataset'
MODEL = 'model'
Expand Down
7 changes: 3 additions & 4 deletions xgboost_synthetic/build-train-deploy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
"import fire\n",
"import joblib\n",
"import logging\n",
"import kfmd\n",
"import nbconvert\n",
"import os\n",
"import pathlib\n",
Expand All @@ -133,9 +132,9 @@
"from xgboost import XGBRegressor\n",
"from importlib import reload\n",
"from sklearn.datasets import make_regression\n",
"from kfmd import metadata\n",
"from kfmd import openapi_client\n",
"from kfmd.openapi_client import Configuration, ApiClient, MetadataServiceApi\n",
"from kubeflow.metadata import metadata\n",
"from kubeflow.metadata import openapi_client\n",
"from kubeflow.metadata.openapi_client import Configuration, ApiClient, MetadataServiceApi\n",
"from datetime import datetime\n",
"import retrying\n",
"import urllib3"
Expand Down
2 changes: 1 addition & 1 deletion xgboost_synthetic/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ fire
gitpython
google-cloud-storage
joblib
kfmd
kubeflow-metadata
numpy
pandas
retrying
Expand Down

0 comments on commit cfe166f

Please sign in to comment.