diff --git a/examples/quickstart.ipynb b/examples/quickstart.ipynb index c085caf..2fe8bf0 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,26 +122,32 @@ }, { "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", - " 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", - " 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" + " 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.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", + " eval_tp: fiftyone.core.fields.IntField\n", + " eval_fp: fiftyone.core.fields.IntField\n", + " eval_fn: fiftyone.core.fields.IntField\n", + " mistakenness: fiftyone.core.fields.FloatField\n", + " possible_missing: fiftyone.core.fields.IntField\n", + " possible_spurious: fiftyone.core.fields.IntField\n" ] } ], @@ -162,7 +166,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 4, "metadata": {}, "outputs": [ { @@ -172,11 +176,18 @@ "\n", "\n", - "
\n", - "
\n", - " \n", + "
\n", + "
\n", + " \n", "
\n", - " \n", + " \n", "
\n", "\n", "" + " \n", + " " ], "text/plain": [ - "" + "" ] }, "metadata": {}, @@ -357,12 +321,21 @@ "\n", "Dataset views can be created and modified both in Python and in the App. The active view in the App is always available via the [Session.view](https://voxel51.com/docs/fiftyone/api/fiftyone.core.session.html#fiftyone.core.session.Session.view) property of your session. This means that if you update your view in the App, its state will be captured by [Session.view](https://voxel51.com/docs/fiftyone/api/fiftyone.core.session.html#fiftyone.core.session.Session.view). Or, you can create a view programmatically in Python and open it in the App by setting the [Session.view](https://voxel51.com/docs/fiftyone/api/fiftyone.core.session.html#fiftyone.core.session.Session.view) property.\n", "\n", - "Let's start by creating a view into our dataset via the App. We'll sort the dataset by the `uniqueness` field to show the most unique images first. To do this, we will click `+ add stage` in the View Bar and add a `SortBy` stage with `uniqueness` as the field, and `reverse` equal to `True`." + "Let's start by creating a view into our dataset via the App:\n", + "\n", + " 1. Look for `uniquness` under the `PRIMITIVES` field.\n", + " 2. Check the box next to `uniqueness` and toggle the slider to whatever value you'd like.\n", + " 3. click `+ add stage` in the **View Bar**. \n", + " 4. Type in `SortBy`. \n", + " 5. In the pop-up type in `uniqueness` as the field, then press the `Submit` button.\n", + " 6. Set `reverse` equal to `True`, by typing in `True`.\n", + "\n", + "This will create a view that contains only the samples with a `uniqueness` score greater than the value you selected, sorted in descending order.\n" ] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -372,11 +345,18 @@ "\n", "\n", - "
\n", - "
\n", - " \n", + "
\n", + "
\n", + " \n", "
\n", - " \n", + " \n", "
\n", "\n", "