From 7192b1d2ab1e8765238e27aeeca13fa248a7aeb3 Mon Sep 17 00:00:00 2001 From: Harpreet Sahota Date: Tue, 5 Mar 2024 16:23:37 -0600 Subject: [PATCH 1/2] Added clarifying steps in section. --- examples/quickstart.ipynb | 410 +++++++++++++++++++++++--------------- 1 file changed, 247 insertions(+), 163 deletions(-) diff --git a/examples/quickstart.ipynb b/examples/quickstart.ipynb index c085caf..bf46817 100644 --- a/examples/quickstart.ipynb +++ b/examples/quickstart.ipynb @@ -100,7 +100,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 2, "metadata": { "scrolled": false }, @@ -110,9 +110,7 @@ "output_type": "stream", "text": [ "Dataset already downloaded\n", - "Loading 'quickstart'\n", - " 100% |█████████████████| 200/200 [5.7s elapsed, 0s remaining, 26.4 samples/s] \n", - "Dataset 'quickstart' created\n" + "Loading existing dataset 'quickstart'. To reload from disk, either delete the existing dataset or provide a custom `dataset_name` to use\n" ] } ], @@ -124,23 +122,23 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 3, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Name: quickstart\n", - "Media type: image\n", - "Num samples: 200\n", - "Persistent: False\n", - "Info: {}\n", - "Tags: ['validation']\n", + "Name: quickstart\n", + "Media type: image\n", + "Num samples: 200\n", + "Persistent: False\n", + "Tags: []\n", "Sample fields:\n", + " id: fiftyone.core.fields.ObjectIdField\n", " filepath: fiftyone.core.fields.StringField\n", " tags: fiftyone.core.fields.ListField(fiftyone.core.fields.StringField)\n", - " metadata: fiftyone.core.fields.EmbeddedDocumentField(fiftyone.core.metadata.Metadata)\n", + " metadata: fiftyone.core.fields.EmbeddedDocumentField(fiftyone.core.metadata.ImageMetadata)\n", " ground_truth: fiftyone.core.fields.EmbeddedDocumentField(fiftyone.core.labels.Detections)\n", " uniqueness: fiftyone.core.fields.FloatField\n", " predictions: fiftyone.core.fields.EmbeddedDocumentField(fiftyone.core.labels.Detections)\n" @@ -162,7 +160,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 4, "metadata": {}, "outputs": [ { @@ -172,11 +170,18 @@ "\n", "\n", - "
\n", - "
\n", - " \n", + "
\n", + "
\n", + " \n", "
\n", - " \n", + " \n", "
\n", "\n", "" + " \n", + " " ], "text/plain": [ - "" + "" ] }, "metadata": {}, @@ -395,7 +335,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -411,12 +351,12 @@ " width: 100%;\n", "}\n", "\n", - "#focontainer-bf054ec4-1e90-4536-9744-bb6ec30cc29a {\n", + "#focontainer-a7de579e-6234-4d44-bb19-03eaef603fc9 {\n", " position: relative;\n", " height: 800px;\n", " display: block !important;\n", "}\n", - "#foactivate-bf054ec4-1e90-4536-9744-bb6ec30cc29a {\n", + "#foactivate-a7de579e-6234-4d44-bb19-03eaef603fc9 {\n", " font-weight: bold;\n", " cursor: pointer;\n", " font-size: 24px;\n", @@ -434,10 +374,10 @@ " background: hsla(210,11%,15%, 0.8);\n", " border: none;\n", "}\n", - "#foactivate-bf054ec4-1e90-4536-9744-bb6ec30cc29a:focus {\n", + "#foactivate-a7de579e-6234-4d44-bb19-03eaef603fc9:focus {\n", " outline: none;\n", "}\n", - "#fooverlay-bf054ec4-1e90-4536-9744-bb6ec30cc29a {\n", + "#fooverlay-a7de579e-6234-4d44-bb19-03eaef603fc9 {\n", " width: 100%;\n", " height: 100%;\n", " background: hsla(208, 7%, 46%, 0.7);\n", @@ -449,17 +389,17 @@ "}\n", "\n", "\n", - "
\n", - "
\n", - " \n", + "
\n", + "
\n", + " \n", "
\n", - " \n", + " \n", "
\n", "\n", "