Spaces:
Sleeping
Sleeping
Commit History
-
Merge hf-final_v2/main (HF Space final_v2) into hugging_face_final
Abdelrahman Almatrooshia008ed3 -
docs: README updates in subfolders
Abdelrahman Almatrooshiafda79c -
update tutorial card
Verified signature7d6010e -
update tutorial layout
Verified signature6e5dc1f -
Fix: bug on pop up warning for eye gaze
4b920eb -
Fix: bring back pop up for eye gaze
a18d8e0 -
fix: remove eye gaze forced calibration when toggle
930ad55 -
change focus flag color
Verified signature9cca3f3 -
Centre menu
Verified signature056b87c -
Merge remote 'Simplify UI integration' into local bug-fix branch
Kept our FocusPageLocal.jsx (hybrid fix + eye gaze modal removal). Accepted incoming App.css, App.jsx, Home.jsx, Records.jsx changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>019a8c1 -
fix: hybird not functioning. Change back from xgboost+geo to MLP+geo for hybird
518de6c -
Simplify UI integration
Verified signatureaff150a -
Fix hybird bug, center timeline, glasses warning in intro pop-up, eye gaze warning pop-up, help page update.
0616f67 -
Upload L2CSNet_gaze360.pkl
Verified signaturegaze detection model weightsa8d94d8 -
fix hybrid combiner path; retry L2CS download at startup
Abdelrahman Almatrooshie707e31 -
removed requirements.txt conflict marker
Abdelrahman Almatrooshi6fc0285 -
fix: quote HF short_description for valid YAML
Abdelrahman Almatrooshi2e034be -
fix: shorten HF short_description (max 60 chars)
Abdelrahman Almatrooshi16a6ae2 -
docs: HF Space README YAML (title, emoji, colors) + merge doc sections
Abdelrahman Almatrooshie405722 -
chore: gitignore training data and large artefacts (HF deploy)
Abdelrahman Almatrooshi964ff95 -
fix: resolve Dockerfile/gitignore; ignore L2CS weights (downloaded in Docker)
Abdelrahman Almatrooshi65ab61d -
chore: Dockerfile, docs, deps, and comment tweaks
Abdelrahman Almatrooshi- Update Dockerfile, README, requirements, .gitignore - Small comment/docstring adjustments in main, justify_thresholds, xgboost scriptsab8ff76 -
Merge origin/hugging_face_final into hugging_face_final
Abdelrahman AlmatrooshiResolve conflict in main.py: keep refactored drawing imports (draw_face_mesh, draw_hud from api.drawing) over inline definitions.9ab271b -
Merge remote-tracking branch 'origin/feature/integration2.0' into hugging_face_final
Abdelrahman Almatrooshicf591cf
-
feat: ClearML project name, artifacts, repro snapshots, model metadata
k22056537479c932
-
fix: eye gaze toggle now properly controls gaze line visibility
k23099462c0db411 -
Merge feature/integration2.0 into hugging_face_final
Abdelrahman AlmatrooshiCombines the latest integration2.0 codebase (modular api/db/drawing, config-driven settings, score-based gaze fusion, ClearML tracking, LOPO benchmarks) with the HuggingFace deployment setup (Dockerfile with MediaPipe OpenGL deps, L2CS weight download, start.sh, HF metadata in README). Binary conflicts resolved by recency; text conflicts resolved preferring integration2.0's refactored code structure.5108eaf -
feat: switch eye gaze to score-based fusion
k22056537Update gaze fusion logic and related API/UI/test paths to use score-based eye gaze behavior instead of the previous mode.77ec8df -
docs: expand model training guide
k22056537Add setup, training, evaluation, output paths, and optional ClearML usage details in models README for faster onboarding.ec03d7b -
feat: sync integration updates across app and ML pipeline
k22056537Update backend/frontend integration, dataset config flow, and training/evaluation scripts, and refresh generated evaluation reports to match the latest runs.eb4abb8 -
fix: add libgles2 libegl1 for MediaPipe OpenGL ES dependency
k22056537All pipelines were failing with: libGLESv2.so.2: cannot open shared object file81ff995 -
fix: use huggingface_hub to resolve LFS pointers at runtime
k22056537urllib can't follow HF's Xet CDN redirects for LFS files. Switched to hf_hub_download which handles auth and storage backends properly.5af8588 -
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.5d92226 -
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 contextfac7982 -
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.4e02ef5 -
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 requirements331142e -
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/.8a6451c -
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.f6f50c4 -
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.5bbefab -
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.6e85aa6 -
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.3ed9171 -
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.bf6b24f -
chore: add HF Space docker metadata
k22056537Make the Space auto-detect the Docker runtime and port without extra manual config.2073485
-
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_sweep9d50060 -
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_sweepac0baac
-
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 deployment6065cea -
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 deploymentd5b4f5f -
change test params and files
a024ce8 -
change test params and files
ea9c146 -
Merge feature/clearml-thresholds
b59ec4f