diff --git a/examples/tutorial.ipynb b/examples/tutorial.ipynb index 432dfea..d2be37c 100644 --- a/examples/tutorial.ipynb +++ b/examples/tutorial.ipynb @@ -22,7 +22,7 @@ "source": [ "
\n", "\n", - " \n", + " \n", " \n", "\n", "\n", @@ -32,11 +32,11 @@ " \"Open\n", "
\n", "\n", - "Welcome to the Ultralytics YOLOv8 🚀 notebook! YOLOv8 is the latest version of the YOLO (You Only Look Once) object detection and image segmentation model developed by Ultralytics. This notebook serves as the starting point for exploring the various resources available to help you get started with YOLOv8 and understand its features and capabilities.\n", + "Welcome to the Ultralytics YOLOv8 🚀 notebook! YOLOv8 is the latest version of the YOLO (You Only Look Once) object detection and image segmentation model developed by Ultralytics. This notebook serves as the starting point for exploring the various resources available to help you get started with YOLOv8 and understand its features and capabilities.\n", "\n", "The YOLOv8 models are designed to be fast, accurate, and easy to use, making them an excellent choice for a wide range of object detection and image segmentation tasks. They can be trained on large datasets and are capable of running on a variety of hardware platforms, from CPUs to GPUs.\n", "\n", - "Whether you are a seasoned machine learning practitioner or new to the field, we hope that the resources on this page will help you get the most out of YOLOv8. Please feel free to browse the YOLOv8 Docs and reach out to us with any questions or feedback.\n", + "Whether you are a seasoned machine learning practitioner or new to the field, we hope that the resources in this notebook will help you get the most out of YOLOv8. Please feel free to browse the YOLOv8 Docs and reach out to us with any questions or feedback.\n", "\n", "
" ] @@ -57,8 +57,7 @@ "metadata": { "id": "wbvMlHd_QwMG", "colab": { - "base_uri": "https://localhost:8080/", - "height": 0 + "base_uri": "https://localhost:8080/" }, "outputId": "d7b7b0a6-6a29-4e6d-e404-8d67d2be86e2" }, @@ -68,7 +67,7 @@ "import ultralytics\n", "ultralytics.checks()" ], - "execution_count": 1, + "execution_count": null, "outputs": [ { "output_type": "stream", @@ -101,7 +100,7 @@ "source": [ "# 1. Predict\n", "\n", - "`yolo mode=predict` runs YOLOv8 inference on a variety of sources, downloading models automatically from the [latest YOLOv8 release](https://github.com/ultralytics/ultralytics/releases), and saving results to `runs/predict`.\n" + "YOLOv8 may be used directly in the Command Line Interface (CLI) with a `yolo` command. `yolo` can be used for a variety of tasks and modes and accepts additional arguments, i.e. `imgsz=640`. See a full list of available `yolo` [arguments](https://docs.ultralytics.com/config/) in the YOLOv8 [Docs](https://docs.ultralytics.com).\n" ] }, { @@ -114,10 +113,10 @@ "outputId": "bc3ee5db-5c36-4dcc-d016-d6b93c756eb2" }, "source": [ - "!yolo task=detect mode=predict model=yolov8n.pt conf=0.25 source='https://ultralytics.com/images/zidane.jpg'\n", - "# display.Image(filename='runs/detect/predict/zidane.jpg', width=600)" + "# Run inference on an image with YOLOv8n\n", + "!yolo task=detect mode=predict model=yolov8n.pt conf=0.25 source='https://ultralytics.com/images/zidane.jpg'" ], - "execution_count": 2, + "execution_count": null, "outputs": [ { "output_type": "stream", @@ -155,7 +154,7 @@ }, "source": [ "# 2. Val\n", - "Validate a model's accuracy on the [COCO](https://cocodataset.org/#home) dataset's `val` or `test` splits. Models are downloaded automatically from the [latest YOLOv8 release](https://github.com/ultralytics/ultralytics/releases). To show results by class use the `--verbose` flag." + "Validate a model's accuracy on the [COCO](https://cocodataset.org/#home) dataset's `val` or `test` splits. The latest YOLOv8 [models](https://github.com/ultralytics/ultralytics/releases) are downloaded automatically the first time they are used." ] }, { @@ -185,7 +184,7 @@ "# Validate YOLOv8n on COCO128 val\n", "!yolo task=detect mode=val model=yolov8n.pt data=coco128.yaml" ], - "execution_count": 3, + "execution_count": null, "outputs": [ { "output_type": "stream", @@ -307,7 +306,7 @@ "# Train YOLOv8n on COCO128 for 3 epochs\n", "!yolo task=detect mode=train model=yolov8n.pt data=coco128.yaml epochs=3 imgsz=640" ], - "execution_count": 4, + "execution_count": null, "outputs": [ { "output_type": "stream", @@ -460,7 +459,7 @@ "source": [ "# 4. Export\n", "\n", - "Export a YOLOv8 model to any format.\n", + "Export a YOLOv8 model to any supported format with the `format` argument, i.e. `format=onnx`.\n", "\n", "Format | `format=...**bold text**` | Model\n", "--- | --- | ---\n", @@ -493,7 +492,7 @@ "id": "CYIjW4igCjqD", "outputId": "f0910315-d678-45b4-c283-3ccd018a5024" }, - "execution_count": 5, + "execution_count": null, "outputs": [ { "output_type": "stream", @@ -522,7 +521,7 @@ "source": [ "# 5. Python Usage\n", "\n", - "YOLOv8 was reimagined using python-first principles for the most seamless python YOLO experience ever." + "YOLOv8 was reimagined using Python-first principles for the most seamless Python YOLO experience yet. YOLOv8 models can be loaded from a trained checkpoint or created from scratch. Then methods are used to train, val, predict, and export the model. See a detailed Python usage examples in the YOLOv8 [Docs](https://docs.ultralytics.com)." ], "metadata": { "id": "kUMOQ0OeDBJG"