-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Description
When I tried to run the Analyzing Image Classification Dataset example, I encountered an error
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/fastdup/sentry.py", line 121, in inner_function
ret = func(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/fastdup/fastdup_controller.py", line 338, in run
assert first_filename.startswith(str(input_dir)), f"annotation dataframe should contain full path filenames, starting with {input_dir}"
AssertionError: annotation dataframe should contain full path filenames, starting with imagenette2-160
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
[<ipython-input-8-0c199c4abbf1>](https://localhost:8080/#) in <cell line: 5>()
3
4 fd = fastdup.create(work_dir=work_dir, input_dir=data_dir)
----> 5 fd.run(annotations=df_annot, ccthreshold=0.9, threshold=0.8)
3 frames
[/usr/local/lib/python3.9/dist-packages/fastdup/fastdup_controller.py](https://localhost:8080/#) in run(self, input_dir, annotations, subset, embeddings, data_type, overwrite, print_summary, **fastdup_kwargs)
336 first_filename = annotations['filename'].values[0]
337 if (str(input_dir)) != ".":
--> 338 assert first_filename.startswith(str(input_dir)), f"annotation dataframe should contain full path filenames, starting with {input_dir}"
339 self._init_run(input_dir, annotations, subset, embeddings, data_type, overwrite, fastdup_kwargs)
340
AssertionError: annotation dataframe should contain full path filenames, starting with imagenette2-160Here's the colab notebook I ran
Metadata
Metadata
Assignees
Labels
No labels