From dadf8c3b56e7b650a7396b251995caad5122d96f Mon Sep 17 00:00:00 2001 From: Hussnain <36568694+husszaf@users.noreply.github.com> Date: Sun, 22 Oct 2023 23:20:31 +0100 Subject: [PATCH 1/3] Typo fix in boundless.ipynb In the boundless.ipynb file in the section: "Loading an image" there is a typo in the description: "We will load a sample image but fell free to upload your own image to the colab and try with it." but it should be "We will load a sample image but feel free to upload your own image to the colab and try with it." the change is from "fell" to the corrected "feel" --- site/en/hub/tutorials/boundless.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/en/hub/tutorials/boundless.ipynb b/site/en/hub/tutorials/boundless.ipynb index 570e9413362..7aec68190de 100644 --- a/site/en/hub/tutorials/boundless.ipynb +++ b/site/en/hub/tutorials/boundless.ipynb @@ -185,7 +185,7 @@ "source": [ "## Loading an Image\n", "\n", - "We will load a sample image but fell free to upload your own image to the colab and try with it. Remember that the model have some limitations regarding human images." + "We will load a sample image but feel free to upload your own image to the colab and try with it. Remember that the model have some limitations regarding human images." ] }, { From 4d108a9ddb0ac6ffcc7cc2b1d558be6ae92abf3a Mon Sep 17 00:00:00 2001 From: 8bitmp3 <19637339+8bitmp3@users.noreply.github.com> Date: Wed, 25 Oct 2023 15:09:21 +0000 Subject: [PATCH 2/3] Update site/en/hub/tutorials/boundless.ipynb --- site/en/hub/tutorials/boundless.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/en/hub/tutorials/boundless.ipynb b/site/en/hub/tutorials/boundless.ipynb index 7aec68190de..50ae2a5cfec 100644 --- a/site/en/hub/tutorials/boundless.ipynb +++ b/site/en/hub/tutorials/boundless.ipynb @@ -185,7 +185,7 @@ "source": [ "## Loading an Image\n", "\n", - "We will load a sample image but feel free to upload your own image to the colab and try with it. Remember that the model have some limitations regarding human images." + "You will load a sample image but feel free to upload your own image to the Colab notebook. Remember that the model may have some limitations regarding human images." ] }, { From f3bc5209dd2d2e6981c3e5a2ba413f865170d95d Mon Sep 17 00:00:00 2001 From: 8bitmp3 <19637339+8bitmp3@users.noreply.github.com> Date: Mon, 30 Oct 2023 15:07:54 +0000 Subject: [PATCH 3/3] Lint and update Boundless notebook --- site/en/hub/tutorials/boundless.ipynb | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/site/en/hub/tutorials/boundless.ipynb b/site/en/hub/tutorials/boundless.ipynb index 50ae2a5cfec..f53fc5bb004 100644 --- a/site/en/hub/tutorials/boundless.ipynb +++ b/site/en/hub/tutorials/boundless.ipynb @@ -82,9 +82,9 @@ "id": "hDKbpAEZf8Lt" }, "source": [ - "## Imports and Setup\n", + "## Imports and setup\n", "\n", - "Lets start with the base imports." + "Start with the base imports:" ] }, { @@ -110,9 +110,9 @@ "id": "pigUDIXtciQO" }, "source": [ - "## Reading image for input\n", + "## Create a function for reading an image\n", "\n", - "Lets create a util method to help load the image and format it for the model (257x257x3). This method will also crop the image to a square to avoid distortion and you can use with local images or from the internet." + "Create a utility function to help load an image and format it for the model (257x257x3). This method will also crop the image to a square to avoid distortion and you can use it with local images or from the internet." ] }, { @@ -147,9 +147,9 @@ "id": "lonrLxuKcsL0" }, "source": [ - "## Visualization method\n", + "## Create a visualization function\n", "\n", - "We will also create a visuzalization method to show the original image side by side with the masked version and the \"filled\" version, both generated by the model." + "Create a visualization function to show the original image side-by-side with the masked version and the \"filled\" version, both generated by the model." ] }, { @@ -183,9 +183,9 @@ "id": "8rwaCWmxdJGH" }, "source": [ - "## Loading an Image\n", + "## Load an image\n", "\n", - "You will load a sample image but feel free to upload your own image to the Colab notebook. Remember that the model may have some limitations regarding human images." + "Now you can load a sample image. Feel free to use your own image by uploading it to the Colab notebook. Remember that the model may have some limitations regarding human images." ] }, { @@ -210,10 +210,10 @@ "id": "4lIkmZL_dtyX" }, "source": [ - "## Selecting a model from TensorFlow Hub\n", + "## Select a model from TensorFlow Hub\n", "\n", - "On TensorFlow Hub we have 3 versions of the Boundless model: Half, Quarter and Three Quarters.\n", - "In the following cell you can chose any of them and try on your image. If you want to try with another one, just chose it and execute the following cells." + "On TensorFlow Hub there are three versions of the Boundless model: Half, Quarter and Three Quarters.\n", + "In the following cell you can choose any of the models and apply them on your image. If you want to pick another model, select it below and then run the following cells." ] }, { @@ -241,9 +241,9 @@ "id": "aSJFeNNSeOn8" }, "source": [ - "Now that we've chosen the model we want, lets load it from TensorFlow Hub.\n", + "After choosing your model, you can load it from TensorFlow Hub.\n", "\n", - "**Note**: You can point your browser to the model handle to read the model's documentation." + "**Note**: You can point to a model handle to read the model's documentation." ] }, { @@ -264,14 +264,14 @@ "id": "L4G7CPOaeuQb" }, "source": [ - "## Doing Inference\n", + "## Perform inference\n", "\n", - "The boundless model have two outputs:\n", + "The boundless model has two outputs:\n", "\n", "* The input image with a mask applied\n", "* The masked image with the extrapolation to complete it\n", "\n", - "we can use these two images to show a comparisson visualization." + "You can compare these two images with a visualization as follows:" ] }, {