CoolFace
Apppublic

hanszhu/Dense-Captioning-Platform

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes
25 commits on main
594a8451y ago

feat(api): expose MedSAM chained call as named endpoint /medsam for remote invocation

hanszhu
12b213c1y ago

feat(medsam): prompt-only segmentation (bboxes/points JSON); skip if none; polygons by default; optional raw masks

hanszhu
eeb48d11y ago

feat(medsam): set min_area=100 with max_regions=20 for more fine segments

hanszhu
fca36a01y ago

feat(ui): re-enable MedSAM overlay rendering

hanszhu
e5964c31y ago

feat(medsam): UI shows polygons only; optional raw masks via hidden flag to avoid UI crashes

hanszhu
4771e7c1y ago

chore(ui): temporarily disable MedSAM overlay to prevent page crashes

hanszhu
c4937ea1y ago

chore(logging): add per-request timestamped logs and exception tracebacks for analyze paths

hanszhu
e25aace1y ago

chore(docker): set PYTHONUNBUFFERED=1 for immediate log flushing

hanszhu
4a00e581y ago

chore(runtime): remove self-ping keepalive thread per request

hanszhu
db23abc1y ago

chore(ui): add elem_id to Gradio components; align MedSAM path with original (no auto SAM); perf tweaks

hanszhu
3b0d9c51y ago

feat(medsam): follow original behavior; remove SAM auto from inference path; MedSAM boxes only (max 8)

hanszhu
d1c88af1y ago

perf(medsam): reduce fallback candidate boxes to 8

hanszhu
61e2e2c1y ago

chore(space): trigger rebuild

hanszhu
00f0ad41y ago

fix(sam): use default SamAutomaticMaskGenerator; still cap to top-12 masks to avoid crashes

hanszhu
5ef1ed01y ago

perf(medsam): cap SAM masks to top-12; reduce fallback regions to 12 for faster requests

hanszhu
1f26ecc1y ago

feat(runtime): add lightweight self-ping keepalive thread to prevent idle shutdowns

hanszhu
78f93071y ago

fix(runtime): disable Gradio SSR and increase keep-alive for Docker Space stability

hanszhu
96e42321y ago

fix(custom_models): add __init__.py and custom_hooks stub; set PYTHONPATH in Dockerfile for mmengine imports

hanszhu
9106b801y ago

fix(deps): pin numpy==1.26.4 in requirements; remove duplicate numpy install from Dockerfile

hanszhu
3e28eb81y ago

fix(space): use writable HF cache dir; set envs; run as user 1000; pin numpy<2; avoid permission + ABI issues

hanszhu
3075af11y ago

fix(deps): pin numpy<2 and scikit-image==0.21.0; avoid NumPy 2 ABI issues; keep installs only in Dockerfile

hanszhu
fd9d3d41y ago

chore(docker): dedupe deps; restore Gradio app; move installs to Dockerfile; no runtime installs

hanszhu
659aa401y ago

chore(space): switch to Docker SDK; add Dockerfile; minimal FastAPI app; trim requirements

hanszhu
a39d1c31y ago

deploy(space): push working Gradio app with API /predict, MedSAM auto-overlay, HF model downloads, cleaned requirements

hanszhu
eb4d3051y ago

build(space): initial Docker Space with Gradio app, MMDet, SAM integration

hanszhu