huzey commited on
Commit
88feeb8
1 Parent(s): e9af887

fix ncut knn

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=num_sample_ncut,
265
  affinity_focal_gamma=affinity_focal_gamma,
266
- knn_ncut=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,