Skip to content

Commit 468ddcb

Browse files
committed
add fastdup version to example
1 parent 9ff3d28 commit 468ddcb

File tree

3 files changed

+34
-3
lines changed

3 files changed

+34
-3
lines changed

examples/analysing-image-classification-dataset.ipynb

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,28 @@
451451
"In this example we run fastdup by providing the annotations."
452452
]
453453
},
454+
{
455+
"cell_type": "code",
456+
"execution_count": 1,
457+
"id": "7f69d8b2",
458+
"metadata": {},
459+
"outputs": [
460+
{
461+
"data": {
462+
"text/plain": [
463+
"'0.918'"
464+
]
465+
},
466+
"execution_count": 1,
467+
"metadata": {},
468+
"output_type": "execute_result"
469+
}
470+
],
471+
"source": [
472+
"import fastdup\n",
473+
"fastdup.__version__"
474+
]
475+
},
454476
{
455477
"cell_type": "code",
456478
"execution_count": 6,
@@ -493,7 +515,6 @@
493515
}
494516
],
495517
"source": [
496-
"import fastdup\n",
497518
"work_dir = 'fastdup_imagenette'\n",
498519
"\n",
499520
"fd = fastdup.create(work_dir=work_dir, input_dir=data_dir) \n",

examples/analyzing-object-detection-dataset.ipynb

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

examples/dinov2_notebook.ipynb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,17 @@
9393
"Note: runtime on a 2 core colab node may be slow, it is recommended to run on 32 core machine to get x16 speedup. "
9494
]
9595
},
96+
{
97+
"cell_type": "code",
98+
"execution_count": null,
99+
"id": "6d204bad",
100+
"metadata": {},
101+
"outputs": [],
102+
"source": [
103+
"import fastdup\n",
104+
"fastdup.__version__"
105+
]
106+
},
96107
{
97108
"cell_type": "code",
98109
"execution_count": 3,
@@ -104,7 +115,6 @@
104115
"source": [
105116
"# The input for creating the embedding is a folder with images\n",
106117
"# The output is saved in fastdup_work_dir.\n",
107-
"import fastdup\n",
108118
"fd = fastdup.create(input_dir=\"images/\", work_dir=\"fastdup_work_dir/\")"
109119
]
110120
},

0 commit comments

Comments
 (0)