mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-10-14 13:30:55 +02:00
Pin the photo-classify snapshot at the gate revision
ffc46db5 carries receipt-gate-2026-09-02.npz and the receipt_gate operating-point entry, so fresh classify installs load the gate from the model snapshot; the package asset remains the fallback for pre-gate weights directories.
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -21,7 +21,7 @@ log = logging.getLogger(__name__)
|
||||
CLASSIFY_EXTRA = "'remove-ai-watermarks[classify]'"
|
||||
WEIGHTS_ENV = "RAIW_CLASSIFY_WEIGHTS"
|
||||
WEIGHTS_REPO = "wiltodelta/raiw-photo-classify"
|
||||
WEIGHTS_REVISION = "c0ac82b6f1ae9fc0b92c467562282e9422da6da6"
|
||||
WEIGHTS_REVISION = "ffc46db5135ee3a83f51538f2c8f7483b9b8b40c"
|
||||
CLIP_FILE = "clip-l-ft.pt"
|
||||
PROBE_FILE = "probe-weights-clip-l-ft.npz"
|
||||
DETECTOR_FILE = "detector.pt"
|
||||
|
||||
@@ -49,7 +49,7 @@ def _scores(
|
||||
|
||||
def test_hub_snapshot_is_the_freeze_revision() -> None:
|
||||
assert WEIGHTS_REPO == "wiltodelta/raiw-photo-classify"
|
||||
assert WEIGHTS_REVISION == "c0ac82b6f1ae9fc0b92c467562282e9422da6da6"
|
||||
assert WEIGHTS_REVISION == "ffc46db5135ee3a83f51538f2c8f7483b9b8b40c"
|
||||
|
||||
|
||||
def test_shipped_operating_point_matches_the_runtime_defaults() -> None:
|
||||
|
||||
Reference in new issue
Block a user