From d7f94fa9f949d30cb7df1c98c2f839709848d56b Mon Sep 17 00:00:00 2001 From: Aliaksei Date: Sat, 16 Mar 2024 18:06:29 -0400 Subject: [PATCH 1/4] Fixed typo --- .../C4_W3_Lab_2_TFX_Custom_Components.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course4/week3-ungraded-labs/C4_W3_Lab_2_TFX_Custom_Components.ipynb b/course4/week3-ungraded-labs/C4_W3_Lab_2_TFX_Custom_Components.ipynb index 9ba364261..5a6adc708 100644 --- a/course4/week3-ungraded-labs/C4_W3_Lab_2_TFX_Custom_Components.ipynb +++ b/course4/week3-ungraded-labs/C4_W3_Lab_2_TFX_Custom_Components.ipynb @@ -720,7 +720,7 @@ "source": [ "### Standard ExampleGen code\n", "\n", - "TFX is open source so the code for standard components can easily be found the public [repo](https://github.com/tensorflow/tfx/tree/89d3cb6c59acd0d487916bff703711815f1506b5/tfx). We placed links in the following sections of the actual files that you'll be modifying/overriding in case you want to compare what was changed for your custom ExampleGen. \n", + "TFX is open source so the code for standard components can easily be found in the public [repo](https://github.com/tensorflow/tfx/tree/89d3cb6c59acd0d487916bff703711815f1506b5/tfx). We placed links in the following sections of the actual files that you'll be modifying/overriding in case you want to compare what was changed for your custom ExampleGen. \n", "\n", "The class heirarchy for these components is pretty deep but in summary, you will only need to modify three:\n", "\n", @@ -1055,4 +1055,4 @@ ] } ] -} \ No newline at end of file +} From 6bd36b6b56928bd02d33997e073877d629a21b91 Mon Sep 17 00:00:00 2001 From: Aliaksei Date: Sun, 17 Mar 2024 12:32:30 -0400 Subject: [PATCH 2/4] Fix typo in command description --- .../C4_W3_Lab_3_TFS_Model_Versioning/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course4/week3-ungraded-labs/C4_W3_Lab_3_TFS_Model_Versioning/README.md b/course4/week3-ungraded-labs/C4_W3_Lab_3_TFS_Model_Versioning/README.md index b051d0db8..a313acbfb 100644 --- a/course4/week3-ungraded-labs/C4_W3_Lab_3_TFS_Model_Versioning/README.md +++ b/course4/week3-ungraded-labs/C4_W3_Lab_3_TFS_Model_Versioning/README.md @@ -159,7 +159,7 @@ To test the different model versions you can use the `dog_example.json` file tha Since you defined labels for the versions of the models you can consume them either by using numerical versioning or labels. -Begin by sending a `POST` request to version 1 of the model: +Begin by sending a `POST` request to version 2 of the model: ```bash curl -X POST http://localhost:8501/v1/models/animals/versions/2:predict \ From 24c10c84cf9741e9af57774793e8f3108d77349c Mon Sep 17 00:00:00 2001 From: Aliaksei Date: Sun, 17 Mar 2024 12:58:50 -0400 Subject: [PATCH 3/4] Fixed typo in GH Actions lab --- .../week3-ungraded-labs/C4_W3_Lab_4_Github_Actions/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course4/week3-ungraded-labs/C4_W3_Lab_4_Github_Actions/README.md b/course4/week3-ungraded-labs/C4_W3_Lab_4_Github_Actions/README.md index 9b8674d56..aded7a758 100644 --- a/course4/week3-ungraded-labs/C4_W3_Lab_4_Github_Actions/README.md +++ b/course4/week3-ungraded-labs/C4_W3_Lab_4_Github_Actions/README.md @@ -155,7 +155,7 @@ In the next part you need to define all of the jobs than will run when this acti Finally you need to specify the `steps` for this action to be completed. This is a sequence of commands to achieve the functionality you strive for. `steps` have several values associated such as: - `name`: The name of the step. -- `uses`: You can specify an already existing `Action` as an step on one of your own. This is pretty cool because it allows for reutilization of Actions. +- `uses`: You can specify an already existing `Action` as a step on one of your own. This is pretty cool because it allows for reutilization of Actions. - `run`: Instead of using an existing Action you might need to run a command. Since you are using `bash` inside a Linux VM, these commands should follow the correct syntax. - `with`: You might need to specify some additional values. This field is for such cases. From a0b03653670fc1c8a319389b8f98fa2764f9a821 Mon Sep 17 00:00:00 2001 From: Aliaksei Date: Sun, 17 Mar 2024 13:05:57 -0400 Subject: [PATCH 4/4] Align readme with workflow --- .../C4_W3_Lab_4_Github_Actions/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/course4/week3-ungraded-labs/C4_W3_Lab_4_Github_Actions/README.md b/course4/week3-ungraded-labs/C4_W3_Lab_4_Github_Actions/README.md index aded7a758..44a84d24b 100644 --- a/course4/week3-ungraded-labs/C4_W3_Lab_4_Github_Actions/README.md +++ b/course4/week3-ungraded-labs/C4_W3_Lab_4_Github_Actions/README.md @@ -134,12 +134,12 @@ In the next part you need to define all of the jobs than will run when this acti steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: - python-version: '3.7.7' + python-version: '3.8' - name: Install dependencies run: | @@ -162,9 +162,9 @@ Finally you need to specify the `steps` for this action to be completed. This is Let's understand every step in order: -- The first step uses the `actions/checkout@v2` Action. This is usually included in every Action since it allows GitHub to access or check-out your repo. +- The first step uses the `actions/checkout@v4` Action. This is usually included in every Action since it allows GitHub to access or check-out your repo. -- Now that your repo has been checked-out, you need to set an environment capable of running your Python code. To accomplish this the `actions/setup-python@v2` Actions is used while specifying the desired Python version. +- Now that your repo has been checked-out, you need to set an environment capable of running your Python code. To accomplish this the `actions/setup-python@v4` Actions is used while specifying the desired Python version. - Having a Python supported environment it is time to install of the dependencies that your application needs. You can do so by using upgrading `pip` and then using it to install the dependencies listed in the `requirements.txt` file. - Finally you can run your unit tests by simply using the `pytest` command. Notice that you needed to `cd` into the `app` directory first.