2 Commits
Author SHA1 Message Date
facok 44812b79a6 Clean up anchor and calibration code after review
- Remove dead detect_anomalies() (superseded by adaptive variant)
- Remove unused r_ref param from infer_color_from_neighbors()
- Remove write-only c_ema state from anchor hook
- Use math.exp() instead of torch.tensor()+torch.exp() in bilateral loop
- Use in-place .add_() for accumulation in bilateral filter
- Pre-normalize padded tensor once in compute_local_relationships()
- Fix video VAE fallback producing duplicate vectors in calibration
2026-03-23 16:33:06 +08:00
facok e9b7d7481d Add missing core modules required by LCSColorAnchor
core/bilateral.py and core/relationships.py were referenced by
nodes/anchor.py but never committed, causing ModuleNotFoundError
on fresh clones.
2026-03-23 16:11:27 +08:00