diff --git a/7_get_data_train_upload.yaml b/7_get_data_train_upload.yaml index 0f27013..0189c24 100644 --- a/7_get_data_train_upload.yaml +++ b/7_get_data_train_upload.yaml @@ -69,10 +69,10 @@ deploymentSpec: - "\nimport kfp\nfrom kfp import dsl\nfrom kfp.dsl import *\nfrom typing import\ \ *\n\ndef get_data(train_data_output_path: OutputPath(), validate_data_output_path:\ \ OutputPath()):\n import urllib.request\n print(\"starting download...\"\ - )\n print(\"downloading training data\")\n url = \"https://raw.githubusercontent.com/cfchase/fraud-detection/main/data/train.csv\"\ + )\n print(\"downloading training data\")\n url = \"https://raw.githubusercontent.com/rh-aiservices-bu/fraud-detection/main/data/train.csv\"\ \n urllib.request.urlretrieve(url, train_data_output_path)\n print(\"\ train data downloaded\")\n print(\"downloading validation data\")\n \ - \ url = \"https://raw.githubusercontent.com/cfchase/fraud-detection/main/data/validate.csv\"\ + \ url = \"https://raw.githubusercontent.com/rh-aiservices-bu/fraud-detection/main/data/validate.csv\"\ \n urllib.request.urlretrieve(url, validate_data_output_path)\n print(\"\ validation data downloaded\")\n\n" image: quay.io/modh/runtime-images:runtime-cuda-tensorflow-ubi9-python-3.9-2024a-20240523 diff --git a/pipeline/7_get_data_train_upload.py b/pipeline/7_get_data_train_upload.py index 571e8d0..01ef8b7 100644 --- a/pipeline/7_get_data_train_upload.py +++ b/pipeline/7_get_data_train_upload.py @@ -12,11 +12,11 @@ def get_data(train_data_output_path: OutputPath(), validate_data_output_path: Ou import urllib.request print("starting download...") print("downloading training data") - url = "https://raw.githubusercontent.com/cfchase/fraud-detection/main/data/train.csv" + url = "https://raw.githubusercontent.com/rh-aiservices-bu/fraud-detection/main/data/train.csv" urllib.request.urlretrieve(url, train_data_output_path) print("train data downloaded") print("downloading validation data") - url = "https://raw.githubusercontent.com/cfchase/fraud-detection/main/data/validate.csv" + url = "https://raw.githubusercontent.com/rh-aiservices-bu/fraud-detection/main/data/validate.csv" urllib.request.urlretrieve(url, validate_data_output_path) print("validation data downloaded") diff --git a/setup/setup-s3-job.yaml b/setup/setup-s3-job.yaml index 5051ac5..a7ce650 100644 --- a/setup/setup-s3-job.yaml +++ b/setup/setup-s3-job.yaml @@ -29,7 +29,7 @@ spec: - -ec - |- echo -n 'Setting up Minio instance and connections' - oc apply -f https://github.com/cfchase/fraud-detection-notebooks/raw/main/setup/setup-s3-no-sa.yaml + oc apply -f https://github.com/rh-aiservices-bu/fraud-detection-notebooks/raw/main/setup/setup-s3-no-sa.yaml command: - /bin/bash image: image-registry.openshift-image-registry.svc:5000/openshift/tools:latest