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

when set grad_map_viz to be True, I got a mistake: rotate() got an unexpected keyword argument 'reshape' #27

Closed imkelt closed 3 years ago

imkelt commented 3 years ago

when set grad_map_viz to be True, I got a mistake: rotate() got an unexpected keyword argument 'reshape'. could you please fix it!!! thanks a lot for you work!!!

marco-rudolph commented 3 years ago

Hi, I could not reproduce the error. Did you accidently uncommentet this line? I guess your interpreter did not call scipy.ndimage.rotate, but another 'rotate'-function.

Thank you, Marco

imkelt commented 3 years ago

thanks to you reply! the commit 13c79a4 works well,may the problem of environment?I haven't modified any code.

marco-rudolph commented 3 years ago

And the current commit does not work for you?

imkelt commented 3 years ago

yeah. The current commit would have the above problem.

marco-rudolph commented 3 years ago

Thanks for the comment, I have fixed the error.

imkelt commented 3 years ago

Thanks for your work!!!