Skip to content

Commit

Permalink
doc-edit adjust image sizes (#44)
Browse files Browse the repository at this point in the history
* doc-edit adjust image sizes

* doc-edits adjust git branch section
  • Loading branch information
MelissaFlinn authored Sep 12, 2024
1 parent 7f983f1 commit 6e4097a
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 28 deletions.
14 changes: 14 additions & 0 deletions 1_experiment_train.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@
"from pathlib import Path"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The output might show TensorFlow messages, such as a \"Could not find TensorRT\" warning. You can ignore these messages.\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -197,6 +204,13 @@
"onnx.save(model_proto, \"models/fraud/1/model.onnx\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The output might include TensorFlow messages related to GPUs. You can ignore these messages."
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ image::pipelines/wb-pipeline-launcher.png[Pipeline buttons]

. Click *Pipeline Editor*.
+
image::pipelines/wb-pipeline-editor-button.png[Pipeline Editor button, 100]
image::pipelines/wb-pipeline-editor-button.png[Pipeline Editor button, 75]
+
You've created a blank pipeline.

. Set the default runtime image for when you run your notebook or Python code.

.. In the pipeline editor, click *Open Panel*.
+
image::pipelines/wb-pipeline-panel-button-loc.png[Open Panel]
image::pipelines/wb-pipeline-panel-button-loc.png[Open Panel,400]

.. Select the *Pipeline Properties* tab.
+
Expand Down Expand Up @@ -59,7 +59,7 @@ NOTE: If you don't set this file dependency, the file is not included in the nod

. Click the `1_experiment_train.ipynb` node.
+
image::pipelines/wb-pipeline-node-1.png[Select Node 1, 200]
image::pipelines/wb-pipeline-node-1.png[Select Node 1, 150]

. In the *Properties* panel, click the *Node Properties* tab.

Expand Down Expand Up @@ -144,7 +144,7 @@ image::pipelines/wb-pipeline-add-kube-secret.png[Add Kubernetes Secret]
** *Secret Name*: `aws-connection-my-storage`
** *Secret Key*: `AWS_ACCESS_KEY_ID`
+
image::pipelines/wb-pipeline-kube-secret-form.png[Secret Form, 400]
image::pipelines/wb-pipeline-kube-secret-form.png[Secret Form, 300]

. Repeat Step 2 for each of the following Kubernetes secrets:

Expand Down
4 changes: 2 additions & 2 deletions workshop/docs/modules/ROOT/pages/creating-a-workbench.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ image::workbenches/create-workbench-form-data-connection.png[Data connection, 60

. Click the *Create workbench* button.
+
image::workbenches/create-workbench-form-button.png[Create workbench button]
image::workbenches/create-workbench-form-button.png[Create workbench button, 150]

.Verification

Expand All @@ -52,7 +52,7 @@ image::workbenches/ds-project-workbench-list.png[Workbench list]

NOTE: If you made a mistake, you can edit the workbench to make changes.

image::workbenches/ds-project-workbench-list-edit.png[Workbench list edit, 300]
image::workbenches/ds-project-workbench-list-edit.png[Workbench list edit, 250]


.Next step
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ image::projects/ds-project-add-dc.png[Add data connection]
+
NOTE: Skip the *Connected workbench* item. You add data connections to a workbench in a later section.
+
image::projects/ds-project-my-storage-form.png[Add my storage form]
image::projects/ds-project-my-storage-form.png[Add my storage form, 400]

.. Click *Add data connection*.

Expand All @@ -45,7 +45,7 @@ NOTE: If you do not intend to complete the pipelines section of the {deliverable
+
NOTE: Skip the *Connected workbench* item. You add data connections to a workbench in a later section.
+
image::projects/ds-project-pipeline-artifacts-form.png[Add pipeline artifacts form]
image::projects/ds-project-pipeline-artifacts-form.png[Add pipeline artifacts form, 400]

.. Click *Add data connection*.

Expand All @@ -54,7 +54,7 @@ image::projects/ds-project-pipeline-artifacts-form.png[Add pipeline artifacts fo

In the *Data connections* tab for the project, check to see that your data connections are listed.

image::projects/ds-project-dc-list.png[List of project data connections]
image::projects/ds-project-dc-list.png[List of project data connections, 400]


.Next steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ NOTE: Depending on how model serving has been configured on your cluster, you mi
.. For *Serving runtime*, select `OpenVINO Model Server`.
.. Leave the other fields with the default settings.
+
image::model-serving/create-model-server-form.png[Create model server form]
image::model-serving/create-model-server-form.png[Create model server form, 400]

. Click *Add*.

Expand All @@ -37,7 +37,7 @@ image::model-serving/ds-project-workbench-list-deploy.png[Create model server fo
.. Type the path that leads to the version folder that contains your model file: `models/fraud`
.. Leave the other fields with the default settings.
+
image::model-serving/deploy-model-form-mm.png[Deploy model from for multi-model serving]
image::model-serving/deploy-model-form-mm.png[Deploy model from for multi-model serving, 400]

. Click *Deploy*.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ NOTE: Depending on how model serving has been configured on your cluster, you mi
.. Type the path that leads to the version folder that contains your model file: `models/fraud`
.. Leave the other fields with the default settings.
+
image::model-serving/deploy-model-form-sm.png[Deploy model from for single-model serving]
image::model-serving/deploy-model-form-sm.png[Deploy model from for single-model serving, 400]

. Click *Deploy*.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ You must wait until the pipeline configuration is complete before you continue a
+
If you have waited more than 5 minutes, and the pipeline server configuration does not complete, you can try to delete the pipeline server and create it again.
+
image::projects//ds-project-delete-pipeline-server.png[Delete pipeline server, 300]
image::projects//ds-project-delete-pipeline-server.png[Delete pipeline server, 250]
+
You can also ask your {productname-short} administrator to verify that self-signed certificates are added to your cluster as described in link:https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/2-latest/html/installing_and_uninstalling_openshift_ai_self-managed/working-with-certificates_certs[Working with certificates].

Expand All @@ -47,7 +47,7 @@ You can also ask your {productname-short} administrator to verify that self-sign
. Navigate to the *Pipelines* tab for the project.
. Next to *Import pipeline*, click the action menu (⋮) and then select *View pipeline server configuration*.
+
image::projects/ds-project-pipeline-server-view.png[View pipeline server configuration menu, 300]
image::projects/ds-project-pipeline-server-view.png[View pipeline server configuration menu, 250]
+
An information box opens and displays the object storage connection information for the pipeline server.

Expand Down
20 changes: 10 additions & 10 deletions workshop/docs/modules/ROOT/pages/importing-files-into-jupyter.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This file-browser window shows the files and folders that are saved inside your

.. On the toolbar, click the *Git Clone* icon:
+
image::workbenches/jupyter-git-icon.png[Git Clone icon, 300]
image::workbenches/jupyter-git-icon.png[Git Clone icon, 200]

.. Enter the following {deliverable} Git *https* URL:
+
Expand All @@ -34,28 +34,28 @@ image::workbenches/jupyter-git-icon.png[Git Clone icon, 300]
https://github.com/rh-aiservices-bu/fraud-detection.git
----
+
image::workbenches/jupyter-git-modal.png[Git Modal, 300]
image::workbenches/jupyter-git-modal.png[Git Modal, 200]

.. Check the *Include submodules* option.

.. Check the *Include submodules* option, and then click *Clone*.

.. In the file browser, select the newly-created *fraud-detection* folder.
.. In the file browser, double-click the newly-created *fraud-detection* folder.
+
image::workbenches/jupyter-file-browser.png[Jupyter file browser, 300]

.. In the left navigation bar, click the *Git* icon and then, in the *Filter* field, enter *{git-version}*.
+
image::workbenches/jupyter-git-icon-version.png[Git Clone icon, 300]

image::workbenches/jupyter-git-icon-version.png[Git Clone icon, 200]
+
// the {git-version} attribute value is defined at the top of this file
.. Select *{git-version}* as the current branch.
.. Select *origin/{git-version}*.
+
The current branch changes to *{git-version}*.


.Verification

Double-click the newly-created folder, `fraud-detection`:

image::workbenches/jupyter-file-browser.png[Jupyter file browser, 300]

In the file browser, you should see the notebooks that you cloned from Git.

image::workbenches/jupyter-file-browser-2.png[Jupyter file browser - fraud-detection, 300]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The {productname-short} dashboard shows the *Home* page.

NOTE: You can navigate back to the OpenShift console by clicking the application launcher to access the OpenShift console.

image::projects/ds-console-ocp-tile.png[OCP console link]
image::projects/ds-console-ocp-tile.png[OCP console link, 250]

For now, stay in the {productname-short} dashboard.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can run a code cell from the notebook interface or from the keyboard:

* *From the user interface:* Select the cell (by clicking inside the cell or to the left side of the cell) and then click *Run* from the toolbar.
+
image::workbenches/run_button.png[Jupyter Run]
image::workbenches/run_button.png[Jupyter Run, 75]

* *From the keyboard:* Press `CTRL` + `ENTER` to run a cell or press `SHIFT` + `ENTER` to run the cell and automatically select the next one.

Expand Down Expand Up @@ -52,7 +52,7 @@ You can do what you want - it's your environment and there is no risk of breakin
. Optionally, create a new notebook in which the code cells are run by using a Python 3 kernel:
.. Create a new notebook by either selecting *File ->New ->Notebook* or by clicking the Python 3 tile in the Notebook section of the launcher window:
+
image::workbenches/new_notebook.png[alt text]
image::workbenches/new_notebook.png[New notebook, 100]

You can use different kernels, with different languages or versions, to run in your notebook.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NOTE: If you are using the {org-name} Developer Sandbox, you are provided with a

. Enter a display name and description. Based on the display name, a resource name is automatically generated, but you can change if you prefer.
+
image::projects/ds-project-new-form.png[New data science project form]
image::projects/ds-project-new-form.png[New data science project form, 300]

.Verification

Expand Down

0 comments on commit 6e4097a

Please sign in to comment.