Spaces:
Sleeping
Sleeping
Commit History
-
fix: show input image in computing overlays + wire XAI map tcoβ
- Add input image background to Mamba, Layers, and XAI map overlays - renderR1 now shows computing overlay with input image while phase-2 runs - Phase-2 completion hides r1maptco alongside rp3tco/rp4tco - server.py: add GradCAM++ and RISE computations to run_analysis() Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>e46b71d
-
fix: animate progress bar during server inference + speed up CPU pipelineβ
- Frontend: animated step-by-step progress 72%β93% while fetch is in flight, showing realistic server-side labels (GradCAM, rollout, occlusion, IG, feature maps, deep analysis) instead of freezing at 72% - Server: reduce occlusion grid 8x8β6x6 on CPU (64β36 forward passes) and IG steps 20β15 on CPU to cut latency ~35% on HuggingFace free tier Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>fb58cc6 -
fix: render Mamba & Layers tabs with real data from server.pyβ
- Add deep_analysis extraction to server.py (attention heads, entropy, magnitude, CLS trajectory, Mamba internals, activation distributions) - Fix tab 4 (Layers) missing re-render on click in initTabs - Defer R3/R4 rendering to tab-click time to avoid offsetWidth=0 - Fix setLyrView to trigger renderR4 on Heads/Entropy toggle - Add parent element fallback for canvas sizing in gct/_drawHeatmap14 - Make attention head grid dynamic (works with 6 or 12 heads) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>682dd8d
-
feat: push real model weights + updated source files to HF Spaceβ
- Add real_weights.pth (405MB) via Git LFS β proper flat state dict for ImprovedMedMamba (ViT-Base/16 + MedMamba, 96.68% val_acc on OCT2017) - Update MODEL_PATH default to ./real_weights.pth (was .ckpt) - Push updated main.py, model.py, inference.py, server.py so HF Space has the full production backend code (these files were previously only local) - Add .gitattributes to track *.pth and *.ckpt via Git LFS Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>61c762a