mirror of
https://github.com/aloshdenny/reverse-SynthID.git
synced 2026-08-09 15:36:02 +02:00
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