Files
zeekay dda5b2a367 restore the tree
The previous commit was meant to remove .github/workflows and removed
every tracked path instead — 892 files, the whole repo. This puts back
the 874 that were never in scope; the eighteen workflow files stay gone,
for the reasons that commit gives.

Content is byte-identical to 9d2aec9 outside .github/workflows.
2026-08-13 23:27:57 -07:00

1.5 KiB

Numpy Dataclasses

The numpy dataclasses module provides numpy-based implementations of the generic dataclasses used in Anomalib. These classes are designed to work with numpy arrays for efficient data handling and processing in anomaly detection tasks.

.. currentmodule:: anomalib.data.dataclasses.numpy

Overview

The module includes several categories of dataclasses:

  • Base Classes: Generic numpy-based data structures
  • Image Classes: Specialized for image data processing
  • Video Classes: Designed for video data handling
  • Depth Classes: Specific to depth-based anomaly detection

Base Classes

NumpyItem

.. autoclass:: NumpyItem
   :members:
   :show-inheritance:

NumpyBatch

.. autoclass:: NumpyBatch
   :members:
   :show-inheritance:

Image Classes

NumpyImageItem

.. autoclass:: NumpyImageItem
   :members:
   :show-inheritance:

NumpyImageBatch

.. autoclass:: NumpyImageBatch
   :members:
   :show-inheritance:

Video Classes

NumpyVideoItem

.. autoclass:: NumpyVideoItem
   :members:
   :show-inheritance:

NumpyVideoBatch

.. autoclass:: NumpyVideoBatch
   :members:
   :show-inheritance:

Depth Classes

NumpyDepthItem

.. autoclass:: NumpyDepthItem
   :members:
   :show-inheritance:

NumpyDepthBatch

.. autoclass:: NumpyDepthBatch
   :members:
   :show-inheritance:

See Also

  • {doc}../index
  • {doc}../torch