voxpixel-baseline / inference.py

Commit History

Fix inference pipeline: normalization, RAS orientation, state_dict check, debug logging
91a070d

Harshith Reddy commited on

Add detailed logging for API requests to show in Hugging Face logs
a1bd718

Harshith Reddy commited on

Fix dimension mismatch: resample prediction mask to match original input dimensions
fd4999b

Harshith Reddy commited on

Fix critical issues: 50MB upload limit, report guardrails, T2 experimental status, API security, and indentation errors
e3ce1b9

Harshith Reddy commited on

Fix shape
da28d95

Harshith Reddy commited on

Aggressive fixes: Higher T1 thresholds (0.60-0.80), stricter spatial priors, volume-based confidence penalty, reject <1000ml
f6ba112

Harshith Reddy commited on

Fix: Correct indentation errors and ensure PROCESSING_LOCK is threading.Lock()
f4cd95e

Harshith Reddy commited on

Fix: Remove local ndimage imports that cause UnboundLocalError - use top-level import instead
90b84c6

Harshith Reddy commited on

Complete critical fixes: proper lock acquire/release, load NIfTI once, fix slice_idx bounds, remove redundant confidence check
7569923

Harshith Reddy commited on

Fix critical bugs: threading.Lock, NIfTI load once, z-axis calculations, confidence defaults, path guards
310ce30

Harshith Reddy commited on

Added advanced guards
17ae0e6

Harshith Reddy commited on

Fix confidence_score
7fa06ba

Harshith Reddy commited on

Add T1 threshold 0.58, size-aware auto-tune, enhanced edge cleanup, centroid/Z-span guards, confidence score, remove emojis
168ff98

Harshith Reddy commited on

Fix accuracy: match training preprocessing and use 0.5 threshold by default
75420c6

Harshith Reddy commited on

Enhance medical report with detailed findings, clinical context, and quality assessment
c20d437

Harshith Reddy commited on

Fix preprocessing, threshold, and post-processing for better predictions
1f6909b

Harshith Reddy commited on

Fix UnboundLocalError and Triton cache permission error
f9a3113

Harshith Reddy commited on

Production build strategy: Docker support, pinned dependencies, OOM guardrails, optimized defaults
05125f7

Harshith Reddy commited on

Speed optimizations: GPU aggregation, max-autotune compile, increased batch/ROI, GPU utilization monitoring, quality guardrails
59e6707

Harshith Reddy commited on

Add liver segmentation refinement pipeline: connected components, morphological cleanup, smoothing
16ec072

Harshith Reddy commited on

Performance optimizations: warm-up, channels-last, TF32, GPU monitoring, memory-mapped I/O
c8db90d

Harshith Reddy commited on

Major performance and stability improvements: disable torch.compile by default, GPU preprocessing, ROI auto-adjustment, timeout mechanism, validation, cuDNN benchmarking, version logging, concurrency limits
700e0b1

Harshith Reddy commited on

Fix GPU OOM: Add post-load memory check, use ultra-minimal settings for low memory, and improve OOM recovery
11a9b37

Harshith Reddy commited on

Fix naming conflict: rename model.py to model_loader.py and initialize DEVICE to prevent NoneType errors
493e2f1

Harshith Reddy commited on

Refactor app.py into modular structure: config, model, processing, inference, and app modules
931ed7c

Harshith Reddy commited on