huzey commited on
Commit
a5faf16
1 Parent(s): 7401bbf

update msg

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -2262,10 +2262,10 @@ with demo:
2262
  1. Load Dataset (left).
2263
  2. Choose parameters (middle).
2264
  3. 🔴 RUN NCUT.
2265
- 4. 🔴 RUN FPS+Cluster.
2266
  5. Interact and Inspect (scroll down).
2267
  """)
2268
- with gr.Accordion("Methods: NCUT spectral-TSNE", open=False):
2269
  gr.Markdown("### <a style='color: #0044CC;' href='https://ncut-pytorch.readthedocs.io/en/latest/how_ncut_works/' target='_blank'>Documentation: How NCUT works</a>")
2270
  gr.Markdown("""
2271
  1. Run Backbone, feature extraction for each image.
@@ -2274,15 +2274,15 @@ with demo:
2274
  4. Run spectral-tSNE on the NCUT eigenvectors.
2275
  5. Plot the 3D spectral-tSNE as RGB.
2276
  """)
2277
- with gr.Accordion("Methods: Hierarchical Structure", open=False):
2278
  gr.Markdown("""
2279
  1. Farthest Point Sampling (FPS) on the eigenvectors.
2280
  2. spectral-tSNE (2D) on the FPS sampled points.
2281
- 3. Hierarchical clustering on the FPS sampled points.
2282
  """)
2283
  gr.Markdown('---')
2284
 
2285
- run_hierarchical_button = gr.Button("🔴 RUN FPS+Cluster", elem_id="run_hierarchical", variant='primary')
2286
  with gr.Accordion("Hierarchical Structure Parameters:", open=True):
2287
  num_sample_fps_slider = gr.Slider(1, 5000, step=1, label="FPS: num_sample", value=1000, elem_id="num_sample_fps")
2288
  tsne_perplexity_slider = gr.Slider(1, 1000, step=1, label="t-SNE: perplexity", value=500, elem_id="perplexity_tsne")
 
2262
  1. Load Dataset (left).
2263
  2. Choose parameters (middle).
2264
  3. 🔴 RUN NCUT.
2265
+ 4. 🔴 RUN tree.
2266
  5. Interact and Inspect (scroll down).
2267
  """)
2268
+ with gr.Accordion("Methods: NCUT Embedding", open=False):
2269
  gr.Markdown("### <a style='color: #0044CC;' href='https://ncut-pytorch.readthedocs.io/en/latest/how_ncut_works/' target='_blank'>Documentation: How NCUT works</a>")
2270
  gr.Markdown("""
2271
  1. Run Backbone, feature extraction for each image.
 
2274
  4. Run spectral-tSNE on the NCUT eigenvectors.
2275
  5. Plot the 3D spectral-tSNE as RGB.
2276
  """)
2277
+ with gr.Accordion("Methods: spectral-tSNE tree", open=False):
2278
  gr.Markdown("""
2279
  1. Farthest Point Sampling (FPS) on the eigenvectors.
2280
  2. spectral-tSNE (2D) on the FPS sampled points.
2281
+ 3. Hierarchical clustering (tree) on the FPS sampled points.
2282
  """)
2283
  gr.Markdown('---')
2284
 
2285
+ run_hierarchical_button = gr.Button("🔴 RUN tree", elem_id="run_hierarchical", variant='primary')
2286
  with gr.Accordion("Hierarchical Structure Parameters:", open=True):
2287
  num_sample_fps_slider = gr.Slider(1, 5000, step=1, label="FPS: num_sample", value=1000, elem_id="num_sample_fps")
2288
  tsne_perplexity_slider = gr.Slider(1, 1000, step=1, label="t-SNE: perplexity", value=500, elem_id="perplexity_tsne")