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
{{ message }}
Repository navigation
Embed & Explore: image-folder handling and backend auto-selection #50
Three small gaps found while reading the app log for a 36-image run. None affect results; they cost time or hide images.
Subfolders are never searched
EmbeddingService.generate_embeddings supports recursive=True (#41), but the sidebar never passes it, so a folder organized by species subfolders reports "Found 0 images". Add an "Include subfolders" checkbox to the Embed section (default on) and pass it through.
Model is loaded even when no images were found
Log: Found 0 images followed by a 17 s BioCLIP 2 load, then 0 embeddings. Return early (with the existing "0 embeddings" warning) before load_model_unified when the listing is empty.
auto backend ignores dataset size
resolve_backend("auto") in both sidebars resolves to cuml whenever a GPU and cuML are present, so the size heuristics inside reduce_dim (cuML only above 5000 samples) and run_kmeans (500) are unreachable from the apps. A 36-point UMAP paid ~20 s of cuML subprocess startup. Decide whether auto should honor a size threshold; if so, make resolve_backend take n_samples and apply one shared rule so the two layers agree.
Activity