Skip to content

Commit 5c99083

Browse files
authored
Typos
1 parent 5f97bd5 commit 5c99083

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

examples/integrations/yolo/import_yolo_annotations.ipynb

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
"metadata": {},
3232
"source": [
3333
"# Import YOLOv8 annotations\n",
34-
"This notebook will provides examples of setting up a Project with annotations generated with YOLOv8. We will be using the [Ultralytics](https://docs.ultralytics.com/) library to generate our annotations. In this guide we will be:\n",
35-
"* Importing a demo image data rows that will be labeled\n",
36-
"* Setting up our ontology that matches our YOLOv8 annotations\n",
37-
"* Importing our data rows and attaching our ontology to a project\n",
38-
"* Running our images through Ultralytics\n",
39-
"* Importing the annotations generated\n"
34+
"This notebook will provide examples of setting up a Project with annotations generated with YOLOv8. We will use the [Ultralytics](https://docs.ultralytics.com/) library to generate annotations. In this guide, we will be:\n",
35+
"1. Importing a demo image data rows that will be labeled\n",
36+
"2. Setting up our ontology that matches our YOLOv8 annotations\n",
37+
"3. Importing our data rows and attaching our ontology to a project\n",
38+
"4. Running our images through Ultralytics\n",
39+
"5. Importing the annotations generated\n"
4040
],
4141
"cell_type": "markdown"
4242
},
@@ -80,7 +80,7 @@
8080
"metadata": {},
8181
"source": [
8282
"## Set up a YOLOv8 model\n",
83-
"Below we will be initializing our model to be used for on our image data rows. We are using `yolov8n-seg.pt` since it supports segmentation masks. "
83+
"Below, we will initialize our model for our image data rows. We are using `yolov8n-seg.pt` since it supports segmentation masks. "
8484
],
8585
"cell_type": "markdown"
8686
},
@@ -96,7 +96,7 @@
9696
"source": [
9797
"## Example: Import YOLOv8 Annotations\n",
9898
"\n",
99-
"The first few steps of this guide will demonstrating a basic workflow of creating data rows and setting up a project. For a quick complete overview of this process visit our [Quick start](https://docs.labelbox.com/reference/quick-start) guide."
99+
"The first few steps of this guide will demonstrate a basic workflow of creating data rows and setting up a project. For a quick, complete overview of this process, visit our [Quick start](https://docs.labelbox.com/reference/quick-start) guide."
100100
],
101101
"cell_type": "markdown"
102102
},
@@ -120,7 +120,7 @@
120120
"metadata": {},
121121
"source": [
122122
"### Setting up an ontology and a project\n",
123-
"You must create a matching ontology and project with the data rows you are trying to label. The ontology should include the annotations that your are wanting to derive from YOLOv8.. We will be introduce and explain a class mapping later in this guide so feel free to name your ontology features anything you want. In our example, we will be including a combination of bounding boxes, segment mask, and polygon tools to demonstrate converting each of those type of annotations from YOLOv8.\n"
123+
"You must create a matching ontology and project with the data rows you are trying to label. The ontology should include the annotations you want to derive from YOLOv8. We will introduce and explain our class mapping later in this guide, so feel free to name your ontology features anything you want. In our example, we will be including a combination of bounding boxes, segment masks, and polygon tools to demonstrate converting each of those types of annotations from YOLOv8.\n"
124124
],
125125
"cell_type": "markdown"
126126
},
@@ -155,8 +155,8 @@
155155
{
156156
"metadata": {},
157157
"source": [
158-
"### Export our data rows and getting our predictions\n",
159-
"Now that we have imported our image data row and set up our project and ontology we can now get our predictions. In the step below, we are exporting our data row from our project and then adding the `row_data` and `global_key` to a list to then be used to make our predictions."
158+
"### Export our data rows and get our predictions\n",
159+
"Now that we have imported our image data row and set up our project and ontology, we can get our predictions. In the step below, we export our data row from our project and then add the `row_data` and `global_key` to a list to be used to make our predictions."
160160
],
161161
"cell_type": "markdown"
162162
},
@@ -178,7 +178,7 @@
178178
"metadata": {},
179179
"source": [
180180
"#### Make YOLOv8 predictions\n",
181-
"Below we are passing our list of image URLs to our YOLOv8 model. If your `row_data` URL are behind a private cloud bucket integration you will need to either download your images locally or give your IDE permission to access your images."
181+
"Below, we are passing our list of image URLs to our YOLOv8 model. If your `row_data` URL is behind a private cloud bucket integration, you will need to either download your images locally or give your IDE permission to access them."
182182
],
183183
"cell_type": "markdown"
184184
},
@@ -193,7 +193,7 @@
193193
"metadata": {},
194194
"source": [
195195
"### Import YOLOv8 annotations to a project\n",
196-
"Now that you have finished your initial set up and have gotten your predictions from YOLOv8 we can import our annotations towards are project. We will be doing the following in this step:\n",
196+
"Now that you have finished your initial setup and have gotten your predictions from YOLOv8, we can import our annotations towards our project. We will be doing the following in this step:\n",
197197
"1. Defining our import functions\n",
198198
"2. Creating our labels\n",
199199
"3. Importing our labels as either ground truths or MAL labels (pre-labels)"
@@ -204,7 +204,7 @@
204204
"metadata": {},
205205
"source": [
206206
"#### Defining our import functions\n",
207-
"YOLOv8 supports a wide range of annotations. This guide shows importing bounding boxes, polygons and segment masks which matches our ontology. Below our the functions used for each type. These functions follow the same similar style, essentially, navigating through our result payload from YOLOv8 and converting it to the Labelbox annotation format. All of our functions support a class mapping which maps YOLOv8 annotation names to Labelbox feature names. The reason we have this mapping is to support having different names for Labelbox features compared to YOLOv8 annotation names. It also allows us to map common YOLOv8 names to the same Labelbox feature attached to our ontology. We will define this mapping first. In our case, we are mapping `bus` and `truck` to our Labelbox feature name `Vehicle` and `person` to our Labelbox feature name `Person`."
207+
"YOLOv8 supports a wide range of annotations. This guide shows importing bounding boxes, polygons, and segment masks that match our ontology. Below are the functions used for each type. These functions follow the same style, essentially navigating through our result payload from YOLOv8 and converting it to the Labelbox annotation format. All of our functions support a class mapping which maps YOLOv8 annotation names to Labelbox feature names. The reason we have this mapping is to support having different names for Labelbox features compared to YOLOv8 annotation names. It also allows us to map common YOLOv8 names to the same Labelbox feature attached to our ontology. We will define this mapping first. In our case, we are mapping `bus` and `truck` to our Labelbox feature name `Vehicle` and `person` to our Labelbox feature name `Person`."
208208
],
209209
"cell_type": "markdown"
210210
},
@@ -261,7 +261,7 @@
261261
"metadata": {},
262262
"source": [
263263
"#### Creating our labels\n",
264-
"Now that we have defined our functions to create our Labelbox annotations we can run each result from our YOLOv8 prediction list with our global keys to create our labels. "
264+
"Now that we have defined our functions to create our Labelbox annotations, we can run each result from our YOLOv8 prediction list with our global keys to create our labels. "
265265
],
266266
"cell_type": "markdown"
267267
},
@@ -276,7 +276,7 @@
276276
"metadata": {},
277277
"source": [
278278
"#### Import annotations to Labelbox\n",
279-
"We have now created our labels and can import them towards our project. For more information on importing annotations visit our [import image annotations](https://docs.labelbox.com/reference/import-image-annotations) guide."
279+
"We have created our labels and can import them to our project. For more information on importing annotations, visit our [import image annotations](https://docs.labelbox.com/reference/import-image-annotations) guide."
280280
],
281281
"cell_type": "markdown"
282282
},
@@ -324,4 +324,4 @@
324324
"execution_count": null
325325
}
326326
]
327-
}
327+
}

0 commit comments

Comments
 (0)