class documentation
class _TFDSImageClassificationSampleParser(foud.ImageClassificationSampleParser): (source)
Constructor: _TFDSImageClassificationSampleParser(image_field, label_field, **kwargs)
Undocumented
Method | __init__ |
Undocumented |
Method | get |
Returns the label for the current sample. |
Instance Variable | image |
Undocumented |
Instance Variable | label |
Undocumented |
Method | _get |
Undocumented |
Inherited from ImageClassificationSampleParser
:
Instance Variable | classes |
Undocumented |
Property | label |
The fiftyone.core.labels.Label class(es) returned by this parser. |
Method | _parse |
Undocumented |
Inherited from LabeledImageTupleSampleParser
(via ImageClassificationSampleParser
):
Method | clear |
Clears the current sample. |
Method | get |
Returns the image from the current sample. |
Method | get |
Returns the image path for the current sample. |
Property | has |
Whether this parser produces fiftyone.core.metadata.ImageMetadata instances for samples that it parses. |
Property | has |
Whether this parser produces paths to images on disk for samples that it parses. |
Method | _parse |
Undocumented |
Instance Variable | _current |
Undocumented |
Property | _current |
Undocumented |
Inherited from LabeledImageSampleParser
(via ImageClassificationSampleParser
, LabeledImageTupleSampleParser
):
Method | get |
Returns the image metadata for the current sample. |
Inherited from SampleParser
(via ImageClassificationSampleParser
, LabeledImageTupleSampleParser
, LabeledImageSampleParser
):
Method | with |
Sets the current sample so that subsequent calls to methods of this parser will return information from the given sample. |
Property | current |
The current sample. |
Instance Variable | _current |
Undocumented |
Returns the label for the current sample.
Parameters | |
sample | the sample |
Returns | |
a fiftyone.core.labels.Classification instance |