Skip to content

Commit 4e843da

Browse files
authored
Merge pull request #47 from wprichard/dsgo
image and formatting updates
2 parents 1004732 + f96cdfb commit 4e843da

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed
-302 Bytes
Loading
-800 Bytes
Loading

labs/DSGo-Oct2021/procedures/odsc-4-deploy-model.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,34 @@ In this lab you will:
2222
Now we're going to deploy the model to its own compute instance so that it can be used. This will take the model from the catalog and create a runtime version of it that's ready to receive requests.
2323

2424
1. Confirm you have completed all the prerequisites and are viewing your Data Science project.
25+
2526
![](images/ds-project.png)
2627

2728
1. Under *Resources*, select **Models** to see the list of models in your model catalog.
29+
2830
![](images/models.png)
2931

3032
1. Find the row containing **sklearn-employee-attrition**. On the right end of the row, click the 3-dot icon to open a pop-up menu.
3133

3234
1. In the pop-up menu, click **Create model deployment**. The *Create Model Deployment* dialog opens.
35+
3336
![](images/project-create-deployment.png)
3437

3538
1. In the *Create Model Deployment* dialog, configure the fields as described below.
39+
3640
![](images/create-model-deployment.png)
3741
- Ensure *Compartment* is set to **root**.
3842
- Enter *Name* as **MyModelDeployment**
3943
- Ensure *Models* is set to **sklearn-employee-attrition**
4044
- In the *Compute* box, click **Select**.
4145
- Enter **1** for *Number of Instances* and check **VM.Standard2.4**. Then click **Submit**.
46+
4247
![](images/model-deployment-select-compute.png)
4348

4449
- (We will not configure Logging in this lab.)
4550

4651
- Click **Create** in the Create Model deployment dialog. It takes about 10 minutes for the deployment to be provisioned and its status will be *Creating*. Wait for the status to change to *Active* to indicate the model is deployed.
52+
4753
![](images/model-active.png)
4854

4955
> **Note** - You just deployed the model through the OCI Console, but you can also deploy a model using python code in a notebook. The ADS library provides functions to do this. See [Model Deployment with ADS](https://docs.oracle.com/en-us/iaas/tools/ads-sdk/latest/user_guide/model_deployment/model_deployment.html) for more information.
@@ -62,14 +68,17 @@ Now that the model is deployed, we will go back to the notebook and invoke its H
6268
- Click on **Open**. It will open in a separate browser tab. If prompted to sign-in, provide your Oracle Cloud credentials. <br/>
6369
![](images/ns-open.png)
6470

71+
6572
1. Ensure you are viewing the browser tab/window displaying *LabNotebookSession*. <br/>
73+
6674
![](images/notebook-session.png)
6775

6876
1. Open notebook **2-model-deployment.ipynb**, but don't start stepping through it yet.
6977

7078
1. In the next-to-the-last code block, find the statement:
7179
> &#35; Replace with the uri of your model deployment: <br/>uri = ''
7280
81+
7382
1. **Paste** your deployed model endpoint URI into the statement between the single quote marks.
7483

7584
1. Execute each code block of the notebook.

0 commit comments

Comments
 (0)