changes in the QoE training function 19/13119/2
authorrajdeep11 <rajdeep.sin@samsung.com>
Fri, 28 Jun 2024 10:49:37 +0000 (16:19 +0530)
committersubhash kumar singh <subh.singh@samsung.com>
Fri, 28 Jun 2024 10:59:42 +0000 (10:59 +0000)
changes for the required latest kubeflow version

Change-Id: Icaf889c7589c7be97bfacb9ede945568feefa9d0
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
(cherry picked from commit 9b6567f6d729d52bdb74882e838e3b4153dd5fec)

kf-pipelines/qoe-pipeline.ipynb

index 78ba11b..7bd372d 100644 (file)
     "    kubernetes.set_image_pull_policy(trainop, \"IfNotPresent\")"
    ]
   },
-  {
-   "cell_type": "code",
-   "execution_count": 5,
-   "metadata": {},
-   "outputs": [],
-   "source": [
-    "@dsl.pipeline(\n",
-    "    name=\"qoe Pipeline\",\n",
-    "    description=\"qoe\",\n",
-    ")\n",
-    "def super_model_pipeline( \n",
-    "    trainingjob_name: str, epochs: str, version: str):\n",
-    "    \n",
-    "    train_and_export(trainingjob_name, epochs, version)"
-   ]
-  },
   {
    "cell_type": "code",
    "execution_count": 6,
    "outputs": [],
    "source": [
     "pipeline_func = super_model_pipeline\n",
-    "file_name = \"qoe_model_pipeline3\"\n",
+    "file_name = \"qoe_model_pipeline\"\n",
     "\n",
     "kfp.compiler.Compiler().compile(pipeline_func,  \n",
     "  '{}.yaml'.format(file_name))"
    ],
    "source": [
     "import requests\n",
-    "pipeline_name=\"qoe Pipeline\"\n",
+    "pipeline_name=\"qoe_Pipeline\"\n",
     "pipeline_file = file_name+'.yaml'\n",
     "requests.post(\"http://tm.traininghost:32002/pipelines/{}/upload\".format(pipeline_name), files={'file':open(pipeline_file,'rb')})"
    ]