hcw-00 / PatchCore_anomaly_detection

Unofficial implementation of PatchCore anomaly detection
Apache License 2.0
317 stars 95 forks source link

TypeError: 'builtin_function_or_method' object is not iterable #26

Open cosao opened 2 years ago

cosao commented 2 years ago

Screenshot from 2021-09-30 21-52-48

This problem cannot be solved. What's the solution? Or what kind of problem did it cause?

ake020675 commented 2 years ago

I solved this problem by putting '' totensor()" behind "center_crop" in transforms function