Anomalib:使用Anomalib 2.1.0训练自己的数据集进行异常检测
  • 前言
  • 环境要求
  • 相关介绍
  • 安装Anomalib 2.1.0
  • 训练自己的数据集进行异常检测
  • 准备自己数据集
  • 使用Anomalib 2.1.0进行训练
  • 使用Anomalib 2.1.0进行推理
  • 参考

Anomalib:使用Anomalib 2.1.0训练自己的数据集进行异常检测_人工智能

Anomalib:使用Anomalib 2.1.0训练自己的数据集进行异常检测_PatchCore_02

前言

  • 由于本人水平有限,难免出现错漏,敬请批评改正。

环境要求

Package                            Version        Build Editable project location
---------------------------------- -------------- ----- ----------------------------------------------
about-time                         4.2.1
absl-py                            2.3.1
accessible-pygments                0.0.5
aiofiles                           23.2.1
aiohappyeyeballs                   2.6.1
aiohttp                            3.12.15
aiosignal                          1.4.0
alabaster                          1.0.0
alembic                            1.16.4
alive-progress                     3.3.0
annotated-types                    0.7.0
anomalib                           2.2.0.dev0           
antlr4-python3-runtime             4.9.3
anyio                              4.10.0
appdirs                            1.4.4
argcomplete                        3.6.2
argon2-cffi                        25.1.0
argon2-cffi-bindings               25.1.0
arrow                              1.3.0
asttokens                          3.0.0
async-lru                          2.0.5
async-timeout                      5.0.1
attrs                              25.3.0
autograd                           1.8.0
av                                 14.0.0
babel                              2.17.0
beautifulsoup4                     4.13.4
bleach                             6.2.0
blinker                            1.9.0
cachetools                         5.5.2
certifi                            2025.8.3
cffi                               1.17.1
cfgv                               3.4.0
chardet                            5.2.0
charset-normalizer                 3.4.3
click                              8.2.1
cloudpickle                        3.1.1
cma                                4.3.0
colorama                           0.4.6
comet-ml                           3.47.4
comm                               0.2.3
commitizen                         4.8.3
configobj                          5.0.9
contourpy                          1.3.2
coverage                           7.6.8
cycler                             0.12.1
databricks-sdk                     0.63.0
debugpy                            1.8.16
decli                              0.6.3
decorator                          5.2.1
defusedxml                         0.7.1
Deprecated                         1.2.18
dill                               0.4.0
distlib                            0.4.0
distro                             1.9.0
docker                             7.1.0
docker-pycreds                     0.4.0
docstring_parser                   0.17.0
docutils                           0.21.2
dulwich                            0.24.1
einops                             0.8.1
everett                            3.1.0
exceptiongroup                     1.3.0
execnet                            2.1.1
executing                          2.2.0
fastapi                            0.116.1
fastjsonschema                     2.21.2
ffmpy                              0.6.1
filelock                           3.19.1
Flask                              3.1.2
fonttools                          4.59.1
fqdn                               1.5.1
FrEIA                              0.2
frozenlist                         1.7.0
fsspec                             2025.7.0
ftfy