Spaces:
Sleeping
Sleeping
Commit History
23 days ago
-
feat: add BiomedCLIP attribute classifier as stage 2 for Cancer predictions
/predict now runs the ConvNeXt binary classifier first and, only when it predicts Cancer, runs the BiomedCLIP ViT-B/16 dual-scale attribute model (7 radiological findings with per-label OOF thresholds, no TTA). The attribute model was trained on cancer cases only, hence the gating. - attributes.py rebuilds BiomedCLIP's vision tower directly in timm, so no open_clip/transformers dependency or runtime hub download; verified bit-identical logits against the notebook's open_clip construction - inference runs in a worker thread so slow requests don't block /health - attributes returned in JSON, or in the X-Attributes header with gradcam - a stage 2 failure is reported in attributes_error without losing the stage 1 result Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VDHZZbNXTVfMbJQPTS5GRmdce349c
24 days ago
-
feat: switch model from DenseNet121-CBAM to ConvNeXt-Tiny + CBAM + MSAM
Replace the DenseNet121-CBAM classifier with the 5-fold CV ConvNeXt-Tiny + CBAM + MSAM model (fold 3 checkpoint: test AUC 0.938, val F1 0.901). Threshold 0.62, Grad-CAM++ now targets the MSAM layer, and the old DenseNet weights are removed. API response format is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VDHZZbNXTVfMbJQPTS5GRmbfd7148
-
fix: revert to single-stage build - multi-stage was not copying packaging module correctly
e239952 -
trigger rebuild
d2e6c3d -
debug: add traceback logging to identify gradcam error
2910e7f -
fix: add packaging dependency required by matplotlib
fa9dce2 -
revert: restore matplotlib for GradCAM colormap - better visualization quality
865fe33 -
fix: container startup - health endpoint returns immediately, add startup logs, optimize uvicorn for HF Spaces
43a582e -
perf: aggressive build optimizations - remove albumentations, use plain uvicorn, multi-stage docker build
6ca35e1 -
perf: major build optimizations - remove matplotlib, fix duplicate endpoint, optimize dependencies
7ebedec -
fix: optimize dockerfile build - remove readme from copy, fix layer ordering
792af26 -
optimizations 1
02bd2b2 -
Update inference.py
Verified signature227bab8 -
chanegs in the model
f439bb2
-
model updated
f4ea9a8
-
fix: replace deprecated libgl1-mesa-glx with libgl1
3d540f1 -
fixes to model building in huggingface
f973701
-
changes to gradcam
2dcec79 -
apidocs added
f0b4428 -
major fixes in app.py and inference.py accordingly for path issue
12b6b94 -
changes to load_model
458d40a -
fixes to paths
9812ade -
fixes to file name
2a51f8d -
changes to app.py path error fixes
8f5cf5e -
fixes to the repo structure
102053e -
changes to file name
082eec9 -
build error efices
9772c3c -
adding first commit
78c0a02 -
initial commit
Verified signaturebb49f9c