Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo fix in boundless.ipynb #2281

Merged
merged 3 commits into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions site/en/hub/tutorials/boundless.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
]
},
{
Expand All @@ -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."
]
},
{
Expand Down Expand Up @@ -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."
]
},
{
Expand Down Expand Up @@ -183,9 +183,9 @@
"id": "8rwaCWmxdJGH"
},
"source": [
"## Loading an Image\n",
"## Load 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."
"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."
]
},
{
Expand All @@ -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."
]
},
{
Expand Down Expand Up @@ -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."
]
},
{
Expand All @@ -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:"
]
},
{
Expand Down
Loading