├── .gitignore ├── README.md ├── checkpoints └── resnet18.pth ├── configs ├── local_coreset.yml ├── padim.yml ├── patchcore.yml ├── stfpm.yml ├── tyre_local_coreset.yml ├── tyre_padim.yml ├── tyre_patchcore.yml └── tyre_stfpm.yml ├── crop_imgs.py ├── demo.py ├── paddle2torch.py ├── process_img.py ├── qinspector ├── cvlib │ ├── __init__.py │ ├── uad_configs.py │ └── workspace.py ├── uad │ ├── __init__.py │ ├── datasets │ │ ├── __init__.py │ │ └── mvtec_torch.py │ ├── models │ │ ├── __init__.py │ │ ├── padim_torch.py │ │ ├── patchcore_torch.py │ │ └── stfpm_torch.py │ └── utils │ │ ├── __init__.py │ │ ├── k_center_greedy_torch.py │ │ ├── random_projection_torch.py │ │ └── utils_torch.py └── utils │ └── bbox_utils.py ├── requirements.txt ├── script.py └── tools └── uad ├── padim ├── predict.py ├── train.py └── val.py ├── patchcore ├── predict.py ├── train.py └── val.py └── stfpm ├── predict.py ├── train.py └── val.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/README.md -------------------------------------------------------------------------------- /checkpoints/resnet18.pth: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/checkpoints/resnet18.pth -------------------------------------------------------------------------------- /configs/local_coreset.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/configs/local_coreset.yml -------------------------------------------------------------------------------- /configs/padim.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/configs/padim.yml -------------------------------------------------------------------------------- /configs/patchcore.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/configs/patchcore.yml -------------------------------------------------------------------------------- /configs/stfpm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/configs/stfpm.yml -------------------------------------------------------------------------------- /configs/tyre_local_coreset.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/configs/tyre_local_coreset.yml -------------------------------------------------------------------------------- /configs/tyre_padim.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/configs/tyre_padim.yml -------------------------------------------------------------------------------- /configs/tyre_patchcore.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/configs/tyre_patchcore.yml -------------------------------------------------------------------------------- /configs/tyre_stfpm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/configs/tyre_stfpm.yml -------------------------------------------------------------------------------- /crop_imgs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/crop_imgs.py -------------------------------------------------------------------------------- /demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/demo.py -------------------------------------------------------------------------------- /paddle2torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/paddle2torch.py -------------------------------------------------------------------------------- /process_img.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/process_img.py -------------------------------------------------------------------------------- /qinspector/cvlib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /qinspector/cvlib/uad_configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/cvlib/uad_configs.py -------------------------------------------------------------------------------- /qinspector/cvlib/workspace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/cvlib/workspace.py -------------------------------------------------------------------------------- /qinspector/uad/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/uad/__init__.py -------------------------------------------------------------------------------- /qinspector/uad/datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/uad/datasets/__init__.py -------------------------------------------------------------------------------- /qinspector/uad/datasets/mvtec_torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/uad/datasets/mvtec_torch.py -------------------------------------------------------------------------------- /qinspector/uad/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/uad/models/__init__.py -------------------------------------------------------------------------------- /qinspector/uad/models/padim_torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/uad/models/padim_torch.py -------------------------------------------------------------------------------- /qinspector/uad/models/patchcore_torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/uad/models/patchcore_torch.py -------------------------------------------------------------------------------- /qinspector/uad/models/stfpm_torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/uad/models/stfpm_torch.py -------------------------------------------------------------------------------- /qinspector/uad/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/uad/utils/__init__.py -------------------------------------------------------------------------------- /qinspector/uad/utils/k_center_greedy_torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/uad/utils/k_center_greedy_torch.py -------------------------------------------------------------------------------- /qinspector/uad/utils/random_projection_torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/uad/utils/random_projection_torch.py -------------------------------------------------------------------------------- /qinspector/uad/utils/utils_torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/uad/utils/utils_torch.py -------------------------------------------------------------------------------- /qinspector/utils/bbox_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/qinspector/utils/bbox_utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/requirements.txt -------------------------------------------------------------------------------- /script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/script.py -------------------------------------------------------------------------------- /tools/uad/padim/predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/tools/uad/padim/predict.py -------------------------------------------------------------------------------- /tools/uad/padim/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/tools/uad/padim/train.py -------------------------------------------------------------------------------- /tools/uad/padim/val.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/tools/uad/padim/val.py -------------------------------------------------------------------------------- /tools/uad/patchcore/predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/tools/uad/patchcore/predict.py -------------------------------------------------------------------------------- /tools/uad/patchcore/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/tools/uad/patchcore/train.py -------------------------------------------------------------------------------- /tools/uad/patchcore/val.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/tools/uad/patchcore/val.py -------------------------------------------------------------------------------- /tools/uad/stfpm/predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/tools/uad/stfpm/predict.py -------------------------------------------------------------------------------- /tools/uad/stfpm/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/tools/uad/stfpm/train.py -------------------------------------------------------------------------------- /tools/uad/stfpm/val.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PinWheel-hub/Unsupervised_Anomaly_Detection/HEAD/tools/uad/stfpm/val.py --------------------------------------------------------------------------------