mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-07-11 02:33:41 +02:00
d5dd24140c
- watermark_remover: _build_qwen_kwargs now passes explicit height/width (via _qwen_target_size, floored to /16). Without it QwenImageImg2ImgPipeline defaults to 1024x1024 and silently squishes non-square inputs, distorting the scene and garbling text. - watermark_profiles: resolve_strength gains a `pipeline` arg + a Qwen strength ladder (_QWEN_VENDOR_STRENGTH, Gemini 0.25), so `--pipeline qwen` gets its certified floor automatically; retires the manual "pass --strength 0.25 for Gemini on qwen" workaround. - fidelity_metrics: replace per-face nearest matching (collided on multi-face images when a variant dropped a face, corrupting the identity metric) with a collision-free one-to-one assignment (assign_faces_one_to_one). lapvar/LPIPS were always bbox-anchored and immune. Regression-guarded by tests/test_fidelity_matching.py. - docs: record the measured outcomes of the qwen-improvement arc. The Qwen ControlNet face-fix is CLOSED (no permissive Qwen detail/tile ControlNet exists; canny carries edges, not skin grain). The `--pipeline auto` router + faces+text mixed dual-pass were prototyped and DROPPED (controlnet wins faces AND display text: abba CER 0.114 vs qwen 0.379). Z-Image-Turbo was tried and dropped (same regeneration limits). qwen stays a manual opt-in; controlnet is the default for everything. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
56 lines
1.4 KiB
Plaintext
56 lines
1.4 KiB
Plaintext
# Dependencies
|
|
.venv/
|
|
__pycache__/
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
|
|
# Environment secrets
|
|
.env
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# SynthID corpus reference fills (synthetic black/white calibration tiles,
|
|
# regenerable; the labeled pos/neg/cleaned images ARE tracked, see README)
|
|
data/synthid_corpus/refs/
|
|
|
|
# Reference materials
|
|
_refs/
|
|
|
|
# Downloaded model weights
|
|
yolov8n.pt
|
|
.coverage
|
|
|
|
# Claude Code local settings
|
|
.claude/settings.local.json
|
|
.claude/scheduled_tasks.lock
|
|
|
|
# Visible-watermark alpha calibration. The solid black/gray/white CAPTURES are
|
|
# committed (content-free: a solid colour + the watermark; the source for
|
|
# scripts/visible_alpha_solve.py so the alpha assets are reproducible). The
|
|
# synthetic seeds (regenerable) and any real-content validation download (a real
|
|
# generated scene, kept local for privacy) are NOT committed.
|
|
data/doubao_capture/seeds/
|
|
data/jimeng_capture/seeds/
|
|
data/jimeng_capture/captures/jimeng_content_*.png
|
|
data/gemini_capture/seeds/
|
|
data/gemini_capture/captures/gemini_content_*.png
|
|
data/samsung_capture/seeds/
|
|
data/samsung_capture/captures/samsung_content_*
|
|
|
|
# Leftover GFPGAN weights dir from the retired face-restore experiments
|
|
# (GFPGAN wrote RetinaFace/parsing weights to a CWD ./gfpgan/weights/ working
|
|
# dir on first use). Runtime artifact, never committed.
|
|
gfpgan/
|
|
|
|
# Qwen ControlNet experiment outputs (throwaway eval; never the committed corpus)
|
|
scripts/_qwen_exp_out/
|