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.
215 stars 67 forks source link

Test code #15

Closed nxm19830306 closed 3 years ago

nxm19830306 commented 3 years ago

Hi,

 Can you submit the test code to predict the image result according to the trained model? 
 Thanks!
jeff-ai-deep-learning commented 3 years ago

Get following issue, when I run the program \functional.py:942: UserWarning: Argument interpolation should be of type InterpolationMode instead of int. Please, use InterpolationMode enum. warnings.warn(

marco-rudolph commented 3 years ago

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

marco-rudolph commented 3 years ago

Get following issue, when I run the program \functional.py:942: UserWarning: Argument interpolation should be of type InterpolationMode instead of int. Please, use InterpolationMode enum. warnings.warn(

Wow, this is so misplaced here and does not seem to be a problem that is directly related to this repo.