:py:mod:`tfds_defect_detection.data` ==================================== .. py:module:: tfds_defect_detection.data Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: tfds_defect_detection.data.DatasetBuilder .. py:class:: DatasetBuilder(**data: Any) Bases: :py:obj:`pydantic.BaseModel` .. py:class:: Config .. py:attribute:: arbitrary_types_allowed :annotation: = True .. py:attribute:: underscore_attrs_are_private :annotation: = True .. py:property:: ds .. py:property:: num_classes .. py:property:: num_files .. py:attribute:: anomaly_composition .. py:attribute:: anomaly_size :annotation: :Optional[int] .. py:attribute:: batch_size :annotation: = 8 .. py:attribute:: color_dict .. py:attribute:: create_artificial_anomalies :annotation: = True .. py:attribute:: crop_to_aspect_ratio :annotation: = False .. py:attribute:: drop_masks :annotation: = False .. py:attribute:: global_transform .. py:attribute:: height :annotation: = 256 .. py:attribute:: image_directory .. py:attribute:: mask_directory :annotation: :Optional[pathlib.Path] .. py:attribute:: pairing_mode :annotation: :typing_extensions.Literal[result_only, result_with_original, result_with_contrastive_pair] = result_only .. py:attribute:: peek :annotation: = True .. py:attribute:: process_deviation .. py:attribute:: repeat :annotation: = True .. py:attribute:: seed :annotation: = 123 .. py:attribute:: shuffle :annotation: = True .. py:attribute:: subset :annotation: :typing_extensions.Literal[training, validation, ] = training .. py:attribute:: validation_split :annotation: = 0.2 .. py:attribute:: width :annotation: = 256 .. py:method:: peek_dataset()