Commit Graph

  • f1a083349b Drop the silhouette band overwrite in the directional trimap server-edition lhk229 2026-07-24 14:10:08 +00:00
  • 78ef411ad2 Silence httpx per-request INFO lines on the prose log stream lhk229 2026-07-20 02:35:54 +00:00
  • 43797eedeb Split logging: prose event stream vs structured JSONL access stream lhk229 2026-07-17 13:40:33 +00:00
  • 3a8a1ef38a Log the full image_url in the access line lhk229 2026-07-17 06:32:58 +00:00
  • 258e0fcf6e default log sets to json lhk229 2026-07-17 04:53:50 +00:00
  • 35d8bf9b02 Restructure docs: README = what/how-to-call, DEPLOY = how-to-run lhk229 2026-07-17 04:35:17 +00:00
  • 755e5fda44 Document AutoDL deploy path; harden its token/log handling lhk229 2026-07-17 04:19:10 +00:00
  • dc4badd0e0 Add structured per-request access logging with a request id lhk229 2026-07-15 05:55:23 +00:00
  • 6506bdd643 Add image_url input mode (service fetches the image) lhk229 2026-07-14 14:33:34 +00:00
  • 07ba02fdde Make the pipelining knobs config-file settable (server: section) lhk229 2026-07-14 12:58:15 +00:00
  • c748fc22a4 Pipeline concurrent requests over a shared GPU with a narrowed lock lhk229 2026-07-14 12:47:50 +00:00
  • a0caac001f Clarify deploy script's final service-management hint lhk229 2026-07-14 09:12:35 +00:00
  • 6baf6ae541 docs: document background_mode in DEPLOY.md / DEPLOY_ZH.md lhk229 2026-07-14 14:41:06 +08:00
  • c56e58affe Add complex-background matting mode to the service via background_mode lhk229 2026-07-14 14:04:58 +08:00
  • 2b3b62ed3f Run the cross-check veto in complex-background mode with a hue-free gate master lhk229 2026-07-14 13:09:57 +08:00
  • e61fbe84f0 Add non-flat background mode (--no-chroma / chroma.enabled: false) lhk229 2026-07-14 11:13:08 +08:00
  • 28d3fe8842 Add one-click AutoDL deploy script and GPU lane config lhk229 2026-07-13 03:42:05 +00:00
  • dbd061e119 Add cross_check lock so a locked lane ignores per-request cross_check=on lhk229 2026-07-11 10:26:38 +00:00
  • 9094b5d9c0 Run pymatting foreground estimation on GPU via CuPy when available lhk229 2026-07-11 09:32:35 +00:00
  • ece9542978 ADD MANDARIN README lhk229 2026-07-11 09:12:35 +00:00
  • 826ad09098 docs: rewrite README HTTP service section into a full API reference lhk229 2026-07-11 09:08:49 +00:00
  • 1861cb0199 docs: document BGFILTER_AUTH_TOKEN auth and despill-off default lhk229 2026-07-11 08:56:39 +00:00
  • 4d34c96bed Add optional token auth to /remove-background lhk229 2026-07-11 08:26:04 +00:00
  • f22af16517 Align defaults with server-edition: reuse-as-seg and despill both OFF lhk229 2026-07-11 12:37:02 +08:00
  • ba5d667524 Disable despill by default (all lanes, incl. cpu-fast) lhk229 2026-07-10 14:13:42 +00:00
  • 18c6918e45 Add seg_force_fg: saturated seg confidence overrides the hue-split demotion lhk229 2026-07-08 18:15:10 +08:00
  • ab89121ccb Merge branch 'server-edition' of https://git.genarrative.world/git/lhk229/BGfilter into server-edition lhk229 2026-07-09 12:28:52 +08:00
  • 3f85043ccc Merge branch 'server-edition' of https://git.genarrative.world/git/lhk229/BGfilter into server-edition lhk229 2026-07-09 02:39:05 +00:00
  • ef11f625f1 Merge branch 'master' of https://git.genarrative.world/git/lhk229/BGfilter into server-edition lhk229 2026-07-09 02:34:50 +00:00
  • 8ef713d560 Add seg_force_fg: saturated seg confidence overrides the hue-split demotion lhk229 2026-07-08 18:15:10 +08:00
  • a221e69212 Merge remote server-edition: cpu-fast lane deploy docs lhk229 2026-07-07 20:52:57 +08:00
  • 9b9d71cf82 Default reuse-as-seg OFF; default expandable_segments on Linux/WSL lhk229 2026-07-07 20:40:19 +08:00
  • 6bf648cd64 Document the measured GPU deployment profile (bf16 + expandable_segments) lhk229 2026-07-07 20:32:13 +08:00
  • e234a1a13d Backport server-edition's pipeline structure to master lhk229 2026-07-07 19:49:53 +08:00
  • 9931980c72 Update Deploy Docs lhk229 2026-07-06 10:57:27 +00:00
  • a48d70d9f7 Cap cpu-fast lane at attn_query_chunk 512 for the 8 GB server lhk229 2026-07-06 17:50:36 +08:00
  • 38a0dc34cc Add configs/cpu-fast.yaml: fp32 CPU lane, no cross-check, no anime-seg lhk229 2026-07-06 17:17:25 +08:00
  • 3992f65ebf Return freed activations to the OS on Linux; recommend jemalloc (A+B) lhk229 2026-07-06 16:40:58 +08:00
  • ad445611ad Make cross-check and reuse-as-seg the service default lhk229 2026-07-06 16:11:43 +08:00
  • c19a35de80 Merge origin/master: bf16 precision, chunked attention, seg-reuse, mimalloc purge lhk229 2026-07-06 16:02:44 +08:00
  • 72655dea91 Gate seg-reuse to the birefnet backend lhk229 2026-07-06 15:52:21 +08:00
  • 10134ad492 Drop dead detect_background_color; sync docs with landed optimizations lhk229 2026-07-06 15:45:06 +08:00
  • 2cc0ce8684 Chunk ViTMatte's global attention to cap its N^2 memory spike lhk229 2026-07-06 15:26:59 +08:00
  • 9a9084b3d6 Cut pipeline cost: seg-reuse, unified bf16 knob, eager mimalloc purge lhk229 2026-07-06 15:15:12 +08:00
  • dfc85566c7 Add bf16 precision option for ViTMatte (--precision, default fp32) lhk229 2026-07-06 13:32:51 +08:00
  • 8b574bc551 Switch model inference from no_grad to inference_mode lhk229 2026-07-06 13:29:13 +08:00
  • 291e9faac5 Derive model dtype from device: fp16 on CUDA only, fp32 on CPU lhk229 2026-07-06 11:08:29 +08:00
  • c7a2819d33 Run torch models in fp16 under inference_mode lhk229 2026-07-06 02:50:42 +08:00
  • 5265e802da Update Deploy - now use fetch weight lhk229 2026-07-05 10:00:20 +00:00
  • 6232887ebd Pin opencv-python-headless in requirements lhk229 2026-07-05 09:45:51 +00:00
  • bfbeb9fc7f Add scripts/fetch_weights.py; correct HR-matting size in DEPLOY lhk229 2026-07-05 09:35:17 +00:00
  • 4b5c714fa3 Document weight file layout and cross-check in DEPLOY lhk229 2026-07-05 09:14:57 +00:00
  • d3f19ddcc7 add DEPLOY.md lhk229 2026-07-05 09:04:22 +00:00
  • edcef6e34d Merge branch 'server-edition' of ssh://genarrative-station:2222/lhk229/BGfilter into server-edition lhk229 2026-07-05 08:47:14 +00:00
  • 88987f508c Remove dead code: unused detect_background_color and ForegroundEstimate extras lhk229 2026-07-04 22:41:11 +08:00
  • 8417653598 Add per-request cross_check toggle to the HTTP service (lazy-loaded) lhk229 2026-07-04 22:34:08 +08:00
  • 11c591e5b5 Default the HTTP service to cross-check OFF (opt in via BGFILTER_CROSS_CHECK) lhk229 2026-07-04 20:57:39 +08:00
  • 578bd1f4d8 Merge master: matte-confidence gate + cross-model hair-gap veto lhk229 2026-07-04 20:37:07 +08:00
  • adbbb9d620 Add cross-model veto of hair-gap background residue (default on) lhk229 2026-07-04 19:52:24 +08:00
  • 639fdf01b6 Gate chroma suppression by the matte's own confidence lhk229 2026-07-03 23:54:28 +08:00
  • 8a7ad60705 Add DEPLOY.md: Linux server deployment guide lhk229 2026-07-03 03:12:42 +00:00
  • da4164e95a Support loading model weights from local project folders lhk229 2026-07-03 02:50:19 +00:00
  • 7a87a00ca1 add benchmark script lhk229 2026-07-02 12:26:20 +00:00
  • d24c6ed608 Add FastAPI HTTP service for background removal lhk229 2026-07-02 12:08:25 +00:00
  • cf0ceec496 Remove redundant configs/birefnet.yaml; drop a stray --config example lhk229 2026-07-02 18:11:47 +08:00
  • 3f66f66ec7 Align default ViTMatte model to base; make --config optional lhk229 2026-07-02 18:09:55 +08:00
  • fe97d692a7 Remove dead colour-model/despill code; simplify despill; refresh stale docs lhk229 2026-07-02 17:49:20 +08:00
  • a6d84845c6 Default to BiRefNet + CPU; add --seg-backend to pick the segmenter lhk229 2026-07-02 16:32:13 +08:00
  • 62f175948e Auto-detect the background colour (default); drop the green heuristic lhk229 2026-07-01 20:34:31 +08:00
  • 7308730528 Add configs/birefnet.yaml for the BiRefNet segmentation backend lhk229 2026-07-01 19:54:49 +08:00
  • 5f48f7a2cd Add directional trimap mode (default); keep seg/hard-bg via trimap.mode lhk229 2026-07-01 19:27:09 +08:00
  • 22ef1d6336 Sync docs to current architecture lhk229 2026-07-01 15:46:21 +08:00
  • 7555321cfc Simplify to single-segmenter pipelines; add screen_color prior; drop rescue + recolor lhk229 2026-07-01 15:33:58 +08:00
  • 87359ca304 Add optional BiRefNet-gated intersection for the dropout-fill lhk229 2026-07-01 14:47:09 +08:00
  • 9805b51b99 Split trimap and dropout-fill segmentation backends lhk229 2026-07-01 11:17:46 +08:00
  • 08378e57f8 Add anime-seg segmentation backend (SkyTNT ISNet) lhk229 2026-06-30 23:58:22 +08:00
  • 26b0bc8388 Filter speckle noise from the segmentation dropout-fill lhk229 2026-06-30 23:29:14 +08:00
  • b0a634dfd4 Add recolor pass to clean residual contamination colour lhk229 2026-06-30 22:19:15 +08:00
  • 42d65b0d25 Rescue ViTMatte dropouts with the segmentation mask lhk229 2026-06-30 22:04:34 +08:00
  • 5ab3d7eb7c Lower seg_loose_threshold to 0.08 lhk229 2026-06-30 22:01:23 +08:00
  • 711669ea51 Fuse semantic segmentation mask into the trimap lhk229 2026-06-30 21:32:38 +08:00
  • a6a313d2d0 Add BiRefNet semantic segmentation module lhk229 2026-06-30 21:07:24 +08:00
  • a9886f1479 Revert "Carve background green embedded in the foreground (hole handling)" lhk229 2026-06-30 20:12:27 +08:00
  • f7e12d3498 Carve background green embedded in the foreground (hole handling) lhk229 2026-06-30 18:36:43 +08:00
  • d6cf6ffe0c Add chroma-guided alpha suppression for background holes lhk229 2026-06-30 18:03:09 +08:00
  • 9b7a192599 Use pymatting ML foreground estimation to remove edge spill lhk229 2026-06-30 17:33:35 +08:00
  • 5ddf0cd392 Despill across full foreground to cut edge green spill lhk229 2026-06-30 16:58:32 +08:00
  • d6bb658244 Add foreground color estimation pass Codex 2026-06-30 16:25:56 +08:00
  • 1a670088c0 Use ViTMatte base composition model Codex 2026-06-30 15:36:07 +08:00
  • 10705d49df Support YAML pipeline configuration Codex 2026-06-30 15:03:15 +08:00
  • 923dbe9f09 Add sample smoke check and refine foreground despill Codex 2026-06-30 14:42:08 +08:00
  • 464a60c733 Improve despill and add quality checks Codex 2026-06-30 14:29:19 +08:00
  • 8fc53925e0 Implement green screen matting pipeline Codex 2026-06-30 14:14:15 +08:00
  • 4d2a2015fe Ignore sample and output directories Codex 2026-06-30 13:43:37 +08:00
  • bb61d2d3b6 Add green screen matting workflow Codex 2026-06-30 13:39:24 +08:00