gudovskiy / cflow-ad

Official PyTorch code for WACV 2022 paper "CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flows"
https://arxiv.org/abs/2107.12571
BSD 3-Clause "New" or "Revised" License
229 stars 57 forks source link

Consuming a lot of memory when calculating segmentation AUROC #15

Open gaowq2017 opened 2 years ago

gaowq2017 commented 2 years ago

Hi, thank you for sharing the code. Consuming a lot of memory when calculating segmentation AUROC as follow: 捕获 When the code run to it as follow: image The image and GT are resized to (512*512) It's normal or any issues? Thank you very much

gudovskiy commented 2 years ago

@gaowq2017 yes it is normal. This is an external function to get precision metrics