xcyao00 / PRNet

[CVPR 2023] Unofficial PyTorch implementation for CVPR2023 paper, Prototypical Residual Networks for Anomaly Detection and Localization.
24 stars 3 forks source link

AttributeError: 'Delaunay' object has no attribute 'vertices' #1

Open HamidrezaZarrabi opened 11 months ago

HamidrezaZarrabi commented 11 months ago

Issue

Hi, When I run python train.py, training process is started but I face with the following AttrbuteError:

Screenshot from 2023-12-07 12-47-32

It says: AttributeError: 'Delaunay' object has no attribute 'vertices'

what's the problem? Thank you for taking me your time. I hope to hear the solution from you.

Additional information

Extracted fg_mask.zip into directory fg_mask and also mvtec_anomaly_detection.tar.xz into directory mvtec_anomaly_detection. scikit-learn version: 1.3.2 Chosen parameters as following: data_path = "/mvtec_anomaly_detection/" anomaly_source_path = "/fg_mask/" class_name = 'zipper' num_anomalies = 8