DeYOEngine#

class torch_ttt.engine.deyo_engine.DeYOEngine(model: Module, optimization_parameters: Dict[str, Any] | None = None, e_margin: float = 3.4538776394910684, plpd_thresh: float = 0.2, ent_norm: float = 2.763102111592855, patch_len: int = 4, reweight_ent: float = 1.0, reweight_plpd: float = 1.0)[source]#

DeYO: Destroy Your Object – Test-Time Adaptation with PLPD.

Reference:

“Entropy is Not Enough for Test-Time Adaptation” (ICLR 2024) Lee et al.