Skip to content

Commit b6a9152

Browse files
committed
update desc
1 parent b4e5fa1 commit b6a9152

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

examples/analyzing-image-classification-dataset.ipynb

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@
5858
"tags": []
5959
},
6060
"source": [
61-
"## Download Imagenette Dataset"
61+
"## Download Dataset\n",
62+
"\n",
63+
"We will analyze the [Imagenette](https://github.com/fastai/imagenette) dataset - a subset of 10 easily classified classes from Imagenet (tench, English springer, cassette player, chain saw, church, French horn, garbage truck, gas pump, golf ball, parachute)."
6264
]
6365
},
6466
{
@@ -97,7 +99,13 @@
9799
"id": "f01586fe-db75-4154-aa15-9ea2709c9461"
98100
},
99101
"source": [
100-
"## Load and Format Annotations"
102+
"## Load and Format Annotations\n",
103+
"\n",
104+
"fastdup expects an annotation `DataFrame` that contains the following column:\n",
105+
"\n",
106+
"+ filename - contains the path to the image file.\n",
107+
"+ label - contains a label of the image.\n",
108+
"+ split - whether the image is subset of the training, validation or test dataset.\n"
101109
]
102110
},
103111
{
@@ -494,7 +502,7 @@
494502
"source": [
495503
"## Import & Run fastdup\n",
496504
"\n",
497-
"In this example we run fastdup by providing the annotations."
505+
"With the images and annotations, we are now ready to run an analysis."
498506
]
499507
},
500508
{
@@ -519,6 +527,16 @@
519527
"fastdup.__version__"
520528
]
521529
},
530+
{
531+
"cell_type": "markdown",
532+
"id": "52f2d878",
533+
"metadata": {},
534+
"source": [
535+
"`work_dir` is the path to store the artifacts from the analysis.\n",
536+
"\n",
537+
"`input_dir` is the path to the downloaded images."
538+
]
539+
},
522540
{
523541
"cell_type": "code",
524542
"execution_count": 9,
@@ -1926,6 +1944,7 @@
19261944
"execution_count": 12,
19271945
"id": "4d7cf1b9-c6c0-4b90-b7bb-59ca7bdbdcd7",
19281946
"metadata": {
1947+
"scrolled": false,
19291948
"tags": []
19301949
},
19311950
"outputs": [

0 commit comments

Comments
 (0)