Skip to content

Commit 1d88715

Browse files
committed
update imports
1 parent adb5937 commit 1d88715

13 files changed

+275
-250
lines changed

notebooks/how-to-detect-and-count-objects-in-polygon-zone.ipynb

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -178,30 +178,24 @@
178178
},
179179
{
180180
"cell_type": "code",
181-
"execution_count": 24,
181+
"execution_count": null,
182182
"metadata": {
183183
"colab": {
184184
"base_uri": "https://localhost:8080/"
185185
},
186186
"id": "8w4nepQU00rY",
187187
"outputId": "d2c148de-e871-49dd-b127-731e151200f8"
188188
},
189-
"outputs": [
190-
{
191-
"name": "stdout",
192-
"output_type": "stream",
193-
"text": [
194-
"Ultralytics YOLOv8.2.32 🚀 Python-3.12.2 torch-2.3.1 CPU (Apple M3 Max)\n",
195-
"Setup complete ✅ (16 CPUs, 64.0 GB RAM, 111.8/926.4 GB disk)\n"
196-
]
197-
}
198-
],
189+
"outputs": [],
199190
"source": [
200191
"!pip install \"ultralytics<=8.3.40\"\n",
201192
"\n",
202193
"from IPython import display\n",
203194
"display.clear_output()\n",
204195
"\n",
196+
"# prevent ultralytics from tracking your activity\n",
197+
"!yolo settings sync=False\n",
198+
"\n",
205199
"import ultralytics\n",
206200
"ultralytics.checks()"
207201
]
@@ -1758,7 +1752,8 @@
17581752
"name": "python3"
17591753
},
17601754
"language_info": {
1761-
"name": "python"
1755+
"name": "python",
1756+
"version": "3.9.6"
17621757
},
17631758
"widgets": {
17641759
"application/vnd.jupyter.widget-state+json": {

notebooks/how-to-estimate-vehicle-speed-with-computer-vision.ipynb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,16 @@
136136
"## Imports"
137137
]
138138
},
139+
{
140+
"cell_type": "code",
141+
"execution_count": null,
142+
"metadata": {},
143+
"outputs": [],
144+
"source": [
145+
"# prevent ultralytics from tracking your activity\n",
146+
"!yolo settings sync=False"
147+
]
148+
},
139149
{
140150
"cell_type": "code",
141151
"execution_count": 3,

notebooks/how-to-track-and-count-vehicles-with-yolov8-and-supervison.ipynb

Lines changed: 29 additions & 26 deletions
Large diffs are not rendered by default.

notebooks/how-to-track-and-count-vehicles-with-yolov8.ipynb

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -180,16 +180,7 @@
180180
"id": "IGckxTNGLKDh",
181181
"outputId": "f9814b3c-c201-40b6-e642-72e474ab14f6"
182182
},
183-
"outputs": [
184-
{
185-
"name": "stderr",
186-
"output_type": "stream",
187-
"text": [
188-
"Ultralytics YOLOv8.0.119 🚀 Python-3.10.12 torch-2.0.1+cu118 CUDA:0 (Tesla T4, 15102MiB)\n",
189-
"Setup complete ✅ (4 CPUs, 25.5 GB RAM, 24.1/166.8 GB disk)\n"
190-
]
191-
}
192-
],
183+
"outputs": [],
193184
"source": [
194185
"# Pip install method (recommended)\n",
195186
"\n",
@@ -198,6 +189,9 @@
198189
"from IPython import display\n",
199190
"display.clear_output()\n",
200191
"\n",
192+
"# prevent ultralytics from tracking your activity\n",
193+
"!yolo settings sync=False\n",
194+
"\n",
201195
"import ultralytics\n",
202196
"ultralytics.checks()"
203197
]
@@ -686,7 +680,8 @@
686680
"name": "python3"
687681
},
688682
"language_info": {
689-
"name": "python"
683+
"name": "python",
684+
"version": "3.9.6"
690685
}
691686
},
692687
"nbformat": 4,

notebooks/how-to-use-polygonzone-annotate-and-supervision.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@
6363
}
6464
],
6565
"source": [
66-
"!pip install \"ultralytics<=8.3.40\" supervision -q"
66+
"!pip install \"ultralytics<=8.3.40\" supervision -q\n",
67+
"\n",
68+
"# prevent ultralytics from tracking your activity\n",
69+
"!yolo settings sync=False"
6770
]
6871
},
6972
{

notebooks/how-to-use-yolo8v-with-sam.ipynb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,17 @@
5252
},
5353
{
5454
"cell_type": "code",
55-
"execution_count": 1,
55+
"execution_count": null,
56+
"metadata": {},
57+
"outputs": [],
58+
"source": [
59+
"# prevent ultralytics from tracking your activity\n",
60+
"!yolo settings sync=False"
61+
]
62+
},
63+
{
64+
"cell_type": "code",
65+
"execution_count": null,
5666
"metadata": {},
5767
"outputs": [
5868
{

notebooks/train-yolo11-instance-segmentation-on-custom-dataset.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@
162162
],
163163
"source": [
164164
"%pip install \"ultralytics<=8.3.40\" supervision roboflow\n",
165+
"# prevent ultralytics from tracking your activity\n",
166+
"!yolo settings sync=False\n",
165167
"import ultralytics\n",
166168
"ultralytics.checks()"
167169
]

notebooks/train-yolo11-object-detection-on-custom-dataset.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@
162162
],
163163
"source": [
164164
"%pip install \"ultralytics<=8.3.40\" supervision roboflow\n",
165+
"# prevent ultralytics from tracking your activity\n",
166+
"!yolo settings sync=False\n",
165167
"import ultralytics\n",
166168
"ultralytics.checks()"
167169
]

notebooks/train-yolov8-classification-on-custom-dataset.ipynb

Lines changed: 71 additions & 70 deletions
Large diffs are not rendered by default.

notebooks/train-yolov8-instance-segmentation-on-custom-dataset.ipynb

Lines changed: 65 additions & 70 deletions
Large diffs are not rendered by default.

notebooks/train-yolov8-keypoint.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
},
135135
{
136136
"cell_type": "code",
137-
"execution_count": 8,
137+
"execution_count": null,
138138
"metadata": {
139139
"colab": {
140140
"base_uri": "https://localhost:8080/"
@@ -155,6 +155,9 @@
155155
"source": [
156156
"!pip install ultralytics==8.2.103 -q\n",
157157
"\n",
158+
"# prevent ultralytics from tracking your activity\n",
159+
"!yolo settings sync=False\n",
160+
"\n",
158161
"import ultralytics\n",
159162
"ultralytics.checks()"
160163
]

notebooks/train-yolov8-obb.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
},
134134
{
135135
"cell_type": "code",
136-
"execution_count": 3,
136+
"execution_count": null,
137137
"metadata": {
138138
"colab": {
139139
"base_uri": "https://localhost:8080/"
@@ -154,6 +154,9 @@
154154
"source": [
155155
"!pip install ultralytics==8.2.103 -q\n",
156156
"\n",
157+
"# prevent ultralytics from tracking your activity\n",
158+
"!yolo settings sync=False\n",
159+
"\n",
157160
"import ultralytics\n",
158161
"ultralytics.checks()"
159162
]

notebooks/train-yolov8-object-detection-on-custom-dataset.ipynb

Lines changed: 60 additions & 57 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)