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

error when I run command #31

Closed valadad closed 2 years ago

valadad commented 3 years ago

Hi

I face an error when I run python main.py

image

thanks

marco-rudolph commented 3 years ago

Hi, hope this helps: https://github.com/pytorch/pytorch/issues/33655 In the case you have no GPU: The code does not support torch with CPU, so you would have to refactor it.