mirror of
https://github.com/aloshdenny/reverse-SynthID.git
synced 2026-04-30 02:27:49 +02:00
32a4b3d4b1
The extractor's load_codebook() was called with the .npz bypass codebook path, but it only handles .pkl files. pickle.load() on an .npz file throws a cryptic "persistent IDs" error, causing the extractor to silently fail. This meant users got no before/after watermark verification during bypass. Changes: - load_codebook() now auto-discovers the .pkl codebook when given a .npz path - Pickle save now uses protocol=4 for wider Python version compatibility Fixes #10, #9, #11