Spaces:
Running
on
Zero
Running
on
Zero
fix ncut knn
Browse files
app.py
CHANGED
@@ -261,9 +261,9 @@ def ncut_run(
|
|
261 |
_rgb, _logging_str, _ = compute_ncut(
|
262 |
feature[None],
|
263 |
num_eig=num_eig,
|
264 |
-
num_sample_ncut=
|
265 |
affinity_focal_gamma=affinity_focal_gamma,
|
266 |
-
knn_ncut=
|
267 |
knn_tsne=knn_tsne,
|
268 |
num_sample_tsne=num_sample_tsne,
|
269 |
embedding_method=embedding_method,
|
|
|
261 |
_rgb, _logging_str, _ = compute_ncut(
|
262 |
feature[None],
|
263 |
num_eig=num_eig,
|
264 |
+
num_sample_ncut=30000,
|
265 |
affinity_focal_gamma=affinity_focal_gamma,
|
266 |
+
knn_ncut=1,
|
267 |
knn_tsne=knn_tsne,
|
268 |
num_sample_tsne=num_sample_tsne,
|
269 |
embedding_method=embedding_method,
|