amazon-science / patchcore-inspection

Apache License 2.0
779 stars 154 forks source link

Error when using flag --save_segmentation_images. #35

Open LogikerKit opened 2 years ago

LogikerKit commented 2 years ago

File "bin/run_patchcore.py", line 148, in image_transform dataloaders["testing"].dataset.transform_std AttributeError: 'MVTecDataset' object has no attribute 'transform_std' I cannot find an transform_std in the code. If I remove that part the code runs without problem.

mgpadalkar commented 2 years ago

Seems the same as https://github.com/amazon-research/patchcore-inspection/issues/15#issuecomment-1139204852

PauloFavero commented 1 year ago

Give a look at https://github.com/amazon-science/patchcore-inspection/issues/80#issuecomment-1673587279