From 006a5f02ba21bc613a65bf572627565e88ff2287 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 9 Jan 2023 20:25:57 +0100 Subject: [PATCH] Created using Colaboratory --- examples/tutorial.ipynb | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/examples/tutorial.ipynb b/examples/tutorial.ipynb index d0324cf..8761d17 100644 --- a/examples/tutorial.ipynb +++ b/examples/tutorial.ipynb @@ -61,11 +61,9 @@ }, "source": [ "# Pip install (recommended)\n", - "!pip install ultralytics\n", - "\n", - "from IPython import display\n", - "display.clear_output()\n", - "!yolo mode=checks" + "%pip install ultralytics\n", + "import ultralytics\n", + "ultralytics.checks()" ], "execution_count": null, "outputs": [ @@ -84,11 +82,9 @@ "source": [ "# Git clone (requires GitHub token)\n", "!git clone https://github.com/ultralytics/ultralytics\n", - "!pip install -e ultralytics\n", - "\n", - "from IPython import display\n", - "display.clear_output()\n", - "!yolo mode=checks" + "%pip install -e ultralytics\n", + "import ultralytics\n", + "ultralytics.checks()" ], "metadata": { "id": "TUFPge7f_1ms"