File size: 398 Bytes
66157f2
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
"""Config for the standalone Cage watermark detector."""
from .cage_config import CageExtractorConfig


class CageDetectorConfig(CageExtractorConfig):
    model_type = "cage_detector"

    def __init__(self, fixed_watermark=None, **kwargs):
        super().__init__(**kwargs)
        # The fixed signature this detector checks extracted bits against.
        self.fixed_watermark = fixed_watermark