Spaces:
Sleeping
Sleeping
Commit History
-
fix: add libgles2 libegl1 for MediaPipe OpenGL ES dependency
k22056537All pipelines were failing with: libGLESv2.so.2: cannot open shared object file0d448a6 -
fix: resolve LFS joblib/npz files at runtime before app starts
k22056537Small LFS-tracked files (joblib, npz) are pointers in Docker. start.sh downloads real files from HF API before uvicorn launches so model pipelines can load them.6dcb046 -
fix: match integration_test2 Dockerfile and config
k22056537Replicate the working setup from FocusGuard/integration_test2: - Same Dockerfile structure with npm build and model downloads - Same .dockerignore (excludes .git, dev files) - Same .gitattributes (only pkl/npz/joblib as LFS) - Un-LFS .pt files so they're real objects in Docker contextc2bffa9 -
fix: resolve LFS at build time via git lfs pull
k22056537Include .git in Docker context so git lfs pull can convert pointers to real files. Restored model download steps from original Dockerfile.241eb23 -
fix: add dockerignore, restore git dep, trim requirements
k22056537- Added .dockerignore to exclude .git (516MB), node_modules, dist - Restored git in apt (needed for pip face_detection package) - Removed torch/torchvision from requirements.txt (already installed separately with CPU index to avoid pulling 2.5GB CUDA build) - Dropped clearml, pytest from prod requirements8eeba10 -
fix: ship pre-built frontend, drop npm from Docker build
k22056537Avoids Node.js/npm version issues and OOM in HF build env. Frontend is built locally and committed as static/.ef3b36a -
fix: resolve LFS pointers at runtime instead of build time
k22056537Build-time downloads fail (circular dep — files not served while building). Moved LFS resolution to a startup script that runs before uvicorn launches.95de31d -
fix: make face_mesh model pre-download non-fatal during build
k22056537Network restrictions in HF build env can block Google Storage. The app will retry the download at startup if it fails here.d14f41e -
fix: download LFS files from HF API during Docker build
k22056537HF Docker builds copy LFS pointers, not real files. Added a build step that detects pointer files and downloads the actual binaries from the HF Hub resolve API.d5c34f9 -
fix: restore LFS for all binary files, add git-lfs to Docker build
k22056537HF rejects any binary files not tracked by LFS. Re-added LFS patterns for *.npz, *.pt, *.joblib, etc. Added git-lfs install to Dockerfile with a fallback to pull real files if pointers are copied, plus build-time checkpoint verification.765fbe6 -
fix: remove aggressive LFS patterns, keep only L2CS weights as LFS
k22056537Small checkpoints (mlp_best.pt, scaler_mlp.joblib, etc.) were being stored as LFS pointers which broke model loading on HF Spaces. Only the 91 MB L2CSNet_gaze360.pkl needs LFS. Added build-time checkpoint verification to catch this earlier.739eedb
-
feat: UI nav, onboarding, L2CS weights path + torch.load; trim dev files
k22056537- Home nav: drop avatar, add Home; simplify home CTAs - Focus onboarding + pipeline/L2CS fixes; history clear in Help only - Ignore coverage; Docker log info; remove dead FocusPage, test_data, fetch_sweepa75bb5a
-
Integrate L2CS-Net gaze estimation
Abdelrahman Almatrooshi- Add L2CS-Net in-tree (models/L2CS-Net/) with Gaze360 weights via Git LFS - L2CSPipeline: ResNet50 gaze + MediaPipe head pose, roll de-rotation, cosine scoring - 9-point polynomial gaze calibration with bias correction and IQR outlier filtering - Gaze-eye fusion: calibrated screen coords + EAR for focus detection - L2CS Boost mode: runs gaze alongside any base model (35/65 weight, veto at 0.38) - Calibration UI: fullscreen overlay, auto-advance, progress ring - Frontend: GAZE toggle, Calibrate button, gaze pointer dot on canvas - Bumped capture resolution to 640x480 @ JPEG 0.75 - Dockerfile: added git, CPU-only torch for HF Space deploymente557410
-
Put all the models together (expect UI)
4a5bfab