lukasruff / Deep-SVDD-PyTorch

A PyTorch implementation of the Deep SVDD anomaly detection method
MIT License
698 stars 197 forks source link

L2 Normalization #22

Closed wangyirui closed 3 years ago

wangyirui commented 3 years ago

Hi, I have a question regarding the L2 normalization. Since we want to map the anomalies fall outside the hypersphere, we might perform L2 normalization before calculating the embedding distance. But I didn't find the L2-norm in the code. Did I misunderstand something?

Thank you in advance!