Skip to content

Commit 1081a04

Browse files
author
dbickson
committed
updating python code
1 parent b3e079e commit 1081a04

File tree

6 files changed

+857
-586
lines changed

6 files changed

+857
-586
lines changed

fastdup/__init__.py

Lines changed: 638 additions & 462 deletions
Large diffs are not rendered by default.

fastdup/definitions.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
FILENAME_LABELS = "labels.csv"
1111
FILENAME_KMEANS_CENTROIDS = "kmeans_centroids.csv"
1212
FILENAME_KMEANS_ASSIGNMENTS = "kmeans_assignments.csv"
13+
FILENAME_ERROR_MSG = "error.msg"
14+
15+
IMAGELIST_HEADER="index,filename"
16+
LABEL_HEADER="index.label"
17+
STATS_HEADER='index,filename,width,height,unique,blur,mean,min,max,stdv,file_size'
18+
SIMILARITY_HEADER="from,to,distance"
1319

1420
FILENAME_TOP_COMPONENTS = "top_components.pkl"
1521
FILENAME_TOP_CLUSTERS = "top_clusters.pkl"
@@ -24,4 +30,4 @@
2430
HIGH_ACCURACY_MODEL_FEATURE_WIDTH = 960
2531

2632
DEFUALT_METRIC_ZERO = 0
27-
DEFAULT_METRIC_MINUS_ONE = -1
33+
DEFAULT_METRIC_MINUS_ONE = -1

0 commit comments

Comments
 (0)