-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,877 changed files
with
3,375 additions
and
1,318 deletions.
There are no files selected for viewing
1,315 changes: 729 additions & 586 deletions
1,315
.ipynb_checkpoints/Train_CNN_Digital-Readout-Small-v2-checkpoint.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"id": "80f3d28e-8319-4249-8fcd-cd00a1ca3cad", | ||
"metadata": {}, | ||
"source": [ | ||
"## Remove Duplicates" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 1, | ||
"id": "9fe06b5a-33d3-45ce-9caa-51c8d98c84d8", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"from collectmeterdigits.collect import ziffer_data_files, remove_similar_images" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 2, | ||
"id": "edc70529-736c-496e-95e4-48b58c30425d", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"target_raw_path = \"./ziffer_sortiert_raw\" # here all raw images are stored" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 3, | ||
"id": "3c680b18-231e-4892-8698-9f0cb83e408b", | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"Find similar images now in 1519 images ...\n", | ||
"...1000\n", | ||
"273 duplicates will be removed.\n" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"files = ziffer_data_files(target_raw_path)\n", | ||
"remove_similar_images(files, \"abc\")" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "22b0a110-7f4e-4e1f-a6cc-97078cb18adf", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3 (ipykernel)", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.11.8" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.