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

UserWarning #16

Closed jeff-ai-deep-learning closed 3 years ago

jeff-ai-deep-learning commented 3 years ago

When I run the program, get following issue \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

This error is unknown to me. Did you use the dependencies from requirements.txt? I suspect the error is thrown in this line? Since no interpolation mode is passed, it sounds like something is wrong within your framework.