marco-rudolph / differnet

This is the official repository to the WACV 2021 paper "Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flows" by Marco Rudolph, Bastian Wandt and Bodo Rosenhahn.
217 stars 68 forks source link

How to make predictions #21

Closed simonefinelli closed 3 years ago

simonefinelli commented 3 years ago

From the code I don't see any module that make inference by feeding the model with new images. Could I have some sample code?

marco-rudolph commented 3 years ago

Use this script to get scores from images of one directory.