You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: sdcat/cluster/commands.py
+4-3
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,15 @@
14
14
importpandasaspd
15
15
importpytz
16
16
importtorch
17
+
fromPILimportImage
17
18
18
19
fromsdcatimportcommon_args
19
20
fromsdcat.configimportconfigascfg
20
21
fromsdcat.loggerimportinfo, err, warn
21
22
fromsdcat.cluster.clusterimportcluster_vits
22
23
23
24
24
-
@click.command('cluster', help='Cluster detections. See cluster --config-ini to override cluster defaults.')
25
+
@click.command('detections', help='Cluster detections. See cluster --config-ini to override cluster defaults.')
25
26
@common_args.config_ini
26
27
@common_args.start_image
27
28
@common_args.end_image
@@ -31,7 +32,7 @@
31
32
@click.option('--alpha', help='Alpha is a parameter that controls the linkage. See https://hdbscan.readthedocs.io/en/latest/parameter_selection.html. Default is 0.92. Increase for less conservative clustering, e.g. 1.0', type=float)
32
33
@click.option('--cluster-selection-epsilon', help='Epsilon is a parameter that controls the linkage. Default is 0. Increase for less conservative clustering', type=float)
33
34
@click.option('--min-cluster-size', help='The minimum number of samples in a group for that group to be considered a cluster. Default is 2. Increase for less conservative clustering, e.g. 5, 15', type=int)
0 commit comments